mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
small xss vulnerability and translation ability fix
This commit is contained in:
parent
cbc75befb5
commit
30bd273580
@ -1083,7 +1083,7 @@ class Poche
|
||||
$config = $this->store->getConfigUser($user_id);
|
||||
|
||||
if ($config == null) {
|
||||
die(_( sprintf('User with this id (%d) does not exist.', $user_id) ));
|
||||
die(sprintf(_('User with this id (%d) does not exist.'), $user_id));
|
||||
}
|
||||
|
||||
if (!in_array($type, $allowed_types) || $token != $config['token']) {
|
||||
|
Loading…
Reference in New Issue
Block a user