[vlc-devel] vlc_UrlIsNotEncoded (vlc_url.h) <-> isurisafe (strings.c) differ meaning for the same code?

Rémi Denis-Courmont remi at remlab.net
Mon Jan 2 21:17:04 CET 2012


Le lundi 2 janvier 2012 21:22:14 Thomas Siegbert, vous avez écrit :
> Hi folks,
> 
> maybe I do not see the wood for the trees, but is it possible that these
> two functions have the same coding but a differ meaning?
> 
> Why is in one hand the URI safe and in the other hand the URI not
> encoded if the condition is true? Is it a latent bug?

It is needlessly duplicated code. It is not really a bug though.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list