Skip to content
Snippets Groups Projects
Commit 9c027574 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 316e3578
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment