mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Solved #6191
This commit is contained in:
parent
06e4af2dbc
commit
0397ae8ff9
1 changed files with 4 additions and 2 deletions
|
@ -714,8 +714,10 @@ function pkg_search_page($SID="") {
|
||||||
print " <span class='f5'><span class='blue'>".__("Keywords");
|
print " <span class='f5'><span class='blue'>".__("Keywords");
|
||||||
print "</span></span><br />\n";
|
print "</span></span><br />\n";
|
||||||
print " <input type='text' name='K' size='20'";
|
print " <input type='text' name='K' size='20'";
|
||||||
$K = str_replace("\"", "", $_REQUEST["K"]); # TODO better testing for
|
|
||||||
# SQL trickery...
|
# Added to trim() to avoid the problem described in #6191
|
||||||
|
$K = trim(str_replace("\"", "", $_REQUEST["K"])); # TODO better testing for SQL trickery...
|
||||||
|
|
||||||
print " value=\"".stripslashes($K)."\" maxlength='35'>\n";
|
print " value=\"".stripslashes($K)."\" maxlength='35'>\n";
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue