svn: /web/php-bugs/trunk/include/ query.php

From: Date: Sun, 02 May 2010 22:12:49 +0000
Subject: svn: /web/php-bugs/trunk/include/ query.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-8074@lists.php.net to get a copy of this message
derick Sun, 02 May 2010 22:12:49 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298885 Log: - Fixed bug #51722. Bug: http://bugs.php.net/51722 (Open) Cross Site Scripting Vulnerability on Bug Tracking Site Changed paths: U web/php-bugs/trunk/include/query.php Modified: web/php-bugs/trunk/include/query.php =================================================================== --- web/php-bugs/trunk/include/query.php 2010-05-02 22:11:33 UTC (rev 298884) +++ web/php-bugs/trunk/include/query.php 2010-05-02 22:12:49 UTC (rev 298885) @@ -24,12 +24,12 @@ $status = !empty($_GET['status']) ? $_GET['status'] : 'Open'; $search_for = !empty($_GET['search_for']) ? $_GET['search_for'] : ''; $bug_type = (!empty($_GET['bug_type']) && $_GET['bug_type'] != 'All') ? $_GET['bug_type'] : ''; -$bug_age = (int) (isset($_GET['bug_age'])) ? $_GET['bug_age'] : 0; -$bug_updated = (int) (isset($_GET['bug_updated'])) ? $_GET['bug_updated'] : 0; +$bug_age = (int) (isset($_GET['bug_age']) ? $_GET['bug_age'] : 0); +$bug_updated = (int) (isset($_GET['bug_updated']) ? $_GET['bug_updated'] : 0); $php_os = !empty($_GET['php_os']) ? $_GET['php_os'] : ''; $php_os_not = !empty($_GET['php_os_not']) ? 'not' : ''; $phpver = !empty($_GET['phpver']) ? $_GET['phpver'] : ''; -$begin = (int) !empty($_GET['begin']) ? $_GET['begin'] : 0; +$begin = (int) (!empty($_GET['begin']) ? $_GET['begin'] : 0); $limit = (defined('MAX_BUGS_RETURN')) ? MAX_BUGS_RETURN : 30; if (!empty($_GET['limit'])) { $limit = ($_GET['limit'] == 'All') ? 'All' : (($_GET['limit'] > 0) ? (int) $_GET['limit'] : $limit);

« previous php.webmaster (#8074) next »