mirror of
https://github.com/friendica/friendica
synced 2025-04-20 03:10:12 +00:00
Some removed escapeTags calls
This commit is contained in:
parent
0e2e488521
commit
23b10cf2ae
16 changed files with 39 additions and 50 deletions
|
@ -40,7 +40,7 @@ class Delete extends BaseAdmin
|
|||
self::checkFormSecurityTokenRedirectOnError('/admin/item/delete', 'admin_deleteitem');
|
||||
|
||||
if (!empty($_POST['page_deleteitem_submit'])) {
|
||||
$guid = trim(Strings::escapeTags($_POST['deleteitemguid']));
|
||||
$guid = trim($_POST['deleteitemguid']);
|
||||
// The GUID should not include a "/", so if there is one, we got an URL
|
||||
// and the last part of it is most likely the GUID.
|
||||
if (strpos($guid, '/')) {
|
||||
|
|
|
@ -39,7 +39,7 @@ class Settings extends BaseAdmin
|
|||
|
||||
self::checkFormSecurityTokenRedirectOnError('/admin/logs', 'admin_logs');
|
||||
|
||||
$logfile = (!empty($_POST['logfile']) ? Strings::escapeTags(trim($_POST['logfile'])) : '');
|
||||
$logfile = (!empty($_POST['logfile']) ? trim($_POST['logfile']) : '');
|
||||
$debugging = !empty($_POST['debugging']);
|
||||
$loglevel = ($_POST['loglevel'] ?? '') ?: LogLevel::ERROR;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class Storage extends BaseAdmin
|
|||
|
||||
self::checkFormSecurityTokenRedirectOnError('/admin/storage', 'admin_storage');
|
||||
|
||||
$storagebackend = Strings::escapeTags(trim($parameters['name'] ?? ''));
|
||||
$storagebackend = trim($parameters['name'] ?? '');
|
||||
|
||||
try {
|
||||
/** @var ICanConfigureStorage|false $newStorageConfig */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue