mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05: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);
|
$config = $this->store->getConfigUser($user_id);
|
||||||
|
|
||||||
if ($config == null) {
|
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']) {
|
if (!in_array($type, $allowed_types) || $token != $config['token']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user