mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Rename removeTags to escapeTags
rename function and update calls.
This commit is contained in:
parent
063f0e9cb0
commit
218f0734be
51 changed files with 233 additions and 240 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue