Re:If your code accepts URIs as input, filter out “file://”
by stirner on Monday September 12, 2016 @07:32AM
(#12478796)
Might want to add tel to the whitelist. It works in roughly the same way as mailto but interfaces with telephone apps instead of email clients.
[ Parent
| on HN ]
Re:If your code accepts URIs as input, filter out “file://”
by buro9 on Monday September 12, 2016 @09:05AM
(#12479298)
This is the default user-generated policy, others are able to tweak and adjust using policy rules, i.e:
p.AllowURLSchemes("tel")
I chose conservative and safe defaults, not everyone wishes to whitelist telephone links.