Skip to content

Commit 56bdd2f

Browse files
Get rid of another XSS issue
1 parent dd9a29e commit 56bdd2f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

DocDB/cgi/DocDBVersion.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
# along with DocDB; if not, write to the Free Software
2222
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2323

24-
$DocDBVersion = "8.8.9p3";
24+
$DocDBVersion = "8.8.9p4";
2525

2626
1;

DocDB/cgi/Search

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ my $Untaint = CGI::Untaint -> new($query -> Vars);
5151
my $OutFormat = $Untaint -> extract(-as_printable => "outformat") || "HTML";
5252
$OutFormat =~ tr/[a-z]/[A-Z]/;
5353

54+
$query -> delete_all();
5455
LocalSearch( {-cgiparams => \%CGIParams} );
5556

5657
### Print footers

0 commit comments

Comments
 (0)