Rename removeTags to escapeTags

rename function and update calls.
This commit is contained in:
Adam Magness 2018-11-09 13:29:42 -05:00
parent 063f0e9cb0
commit 218f0734be
51 changed files with 233 additions and 240 deletions

View file

@ -18,7 +18,7 @@ function xrd_init(App $a)
System::httpExit(404);
}
$uri = urldecode(Strings::removeTags(trim($_GET['uri'])));
$uri = urldecode(Strings::escapeTags(trim($_GET['uri'])));
if (defaults($_SERVER, 'HTTP_ACCEPT', '') == 'application/jrd+json') {
$mode = 'json';
} else {
@ -29,7 +29,7 @@ function xrd_init(App $a)
System::httpExit(404);
}
$uri = urldecode(Strings::removeTags(trim($_GET['resource'])));
$uri = urldecode(Strings::escapeTags(trim($_GET['resource'])));
if (defaults($_SERVER, 'HTTP_ACCEPT', '') == 'application/xrd+xml') {
$mode = 'xml';
} else {