diff options
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r-- | includes/bootstrap.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 2a0f7e52d..34398c727 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -715,16 +715,6 @@ function check_plain($text) { } /** - * Prepare a URL for use in an HTML attribute. Strips harmful protocols. - */ -function check_url($uri) { - $uri = htmlspecialchars($uri, ENT_QUOTES); - $uri = filter_xss_bad_protocol($uri, FALSE); - - return $uri; -} - -/** * Since request_uri() is only available on Apache, we generate an * equivalent using other environment variables. */ |