Bug #1272: Parse_str escapes hard slash characters
| From: | mlemos at acm dot org | Date: | Sat, 27 Mar 1999 03:35:10 +0000 |
| Subject: | Bug #1272: Parse_str escapes hard slash characters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4784@lists.php.net to get a copy of this message | ||
From: mlemos@acm.org
Operating system:
PHP version: 3.0.7
PHP Bug Type: Misbehaving function
Bug description: Parse_str escapes hard slash characters
It seems that parse_str is escaping hard slash characters (%5C).
Try this:
<?
parse_str("value=%5C");
echo $value,"\n";
?>
I don't think this is the correct behaviour for this function. Even if it
is, it seems to be the same problem when parsing values passed in URIs.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net