Commit 97fefd9a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

utils: Url: Match VLC's url encoding behavior

parent 976250ce
......@@ -28,12 +28,13 @@
#include <stdexcept>
#include <cstdlib>
#include <cstring>
namespace
{
inline bool isSafe( char c )
{
return c == '.' || c == '-' || c == '_' || c == '~' || c == '/';
return strchr( ".-_~/()&!$*+,;='@:", c ) != NULL;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment