Commit 9c027574 authored by Dries's avatar Dries

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

parent 316e3578
......@@ -696,7 +696,6 @@ function check_file($filename) {
*
*/
function check_url($uri) {
$uri = htmlspecialchars($uri, ENT_QUOTES);
$uri = filter_xss_bad_protocol($uri, FALSE);
return $uri;
......
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