#44030 [Opn->Csd]: Lack of validation of input parameters
| From: | bjori@php.net | Date: | Wed, 19 Mar 2008 11:47:56 +0000 |
| Subject: | #44030 [Opn->Csd]: Lack of validation of input parameters | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-1319@lists.php.net to get a copy of this message | ||
ID: 44030
Updated by: bjori@php.net
Reported By: weirdan at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
New Comment:
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Previous Comments:
------------------------------------------------------------------------
[2008-02-03 09:46:39] weirdan at gmail dot com
Description:
------------
When visiting http://www.php.net/results.php?q[]=1&l=ru&p=wholesite
it
throws errors (because 'q' GET param was passed as array):
Warning: urlencode() expects parameter 1 to be string, array given in
/home/local/Web/sites/www.php.net/results.php on line 18
Warning: Cannot modify header information - headers already sent by
(output started at /home/local/Web/sites/www.php.net/results.php:18) in
/home/local/Web/sites/www.php.net/include/layout.inc on line 81
Warning: Cannot modify header information - headers already sent by
(output started at /home/local/Web/sites/www.php.net/results.php:18) in
/home/local/Web/sites/www.php.net/include/layout.inc on line 82
Reproduce code:
---------------
Visit the provided link.
Expected result:
----------------
No errors shown. Perhaps something along the lines of 'Internal error'
is shown, footer is present.
Actual result:
--------------
Errors are shown. Footer is not present.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44030&edit=1