Re:If your code accepts URIs as input, filter out “file://”
by pdkl95 on Monday September 12, 2016 @07:37AM
(#12478820)
Be liberal in a well-defined way in what you accept. Accepting a variety of input is fine, as long as it is formally defined and recognized. The robustness principle is not an excuse to be sloppy with the input.
(why? see [2] in my other post, "The Science of Insecurity")
(why? see [2] in my other post, "The Science of Insecurity")