[SECURITY] Bug 219044: A user with 'editkeywords' privileges (i.e. usually an administrator) can inject arbitrary SQL via the URL used to edit an existing keyword.

Patch by Joel Peshkin <bugreport@peshkin.net>
r= justdave, zach  a= justdave
This commit is contained in:
justdave%syndicomm.com 2003-11-03 03:31:30 +00:00
Родитель c7a7ee457f
Коммит 20c500c330
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -126,6 +126,7 @@ unless (UserInGroup("editkeywords")) {
my $action = trim($::FORM{action} || '');
detaint_natural($::FORM{id});
if ($action eq "") {