Commit 20164699 authored by catch's avatar catch
Browse files

Issue #2546232 by alexpott: Remove SafeMarkup::checkPlain() from UrlHelper

parent f2585a01
......@@ -272,7 +272,7 @@ public static function filterBadProtocol($string) {
// Get the plain text representation of the attribute value (i.e. its
// meaning).
$string = Html::decodeEntities($string);
return SafeMarkup::checkPlain(static::stripDangerousProtocols($string));
return Html::escape(static::stripDangerousProtocols($string));
}
/**
......
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