Commit b1a648b3 authored by Dries's avatar Dries

- Patch #39566 by chx: fixed incorrect encoding in URLs.

parent 9c027574
......@@ -696,9 +696,7 @@ function check_file($filename) {
*
*/
function check_url($uri) {
$uri = filter_xss_bad_protocol($uri, FALSE);
return $uri;
return filter_xss_bad_protocol($uri, FALSE);
}
/**
......
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