Date: 09/25/00
- Next message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6861: Intermittent Error Message appearing (possible memory leak?)"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6304 Updated: large output from exec() causes segfault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6878
Updated by: stas
Reported By: philnmarie <email protected>
Status: Closed
Bug Type: Strings related
Assigned To:
Comments:
Try to turn off magic_quotes. If this doesn't help, please repoen with a reproducing code.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-25 11:12:24] philnmarie <email protected>
When a perl script passes variables on the url in a "Location:" header, any %27s (apostrophes) are returned as ' (backslash apost). However, when doing a urldecode(urlencode("test'ing")), "test'ing" is returned. I kluged it with "$title = preg_replace("/\'/","'",urldecode($title))" for now. I've verified that the perl script is requesting "somescript.php?title=test%27ing" in the browser location bar, too.
I've seen the other reports of something similar to this (#1765, mainly), but it did not seem to address 'incoming' variables, just ones generated from other PHP scripts.
The files that this is happening with are not done well at all right now (UGLY!), but if they would be of use, please let me know.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6878
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: andy <email protected>: "[PHP-DEV] PHP 4.0 Bug #6861: Intermittent Error Message appearing (possible memory leak?)"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6304 Updated: large output from exec() causes segfault"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

