Doc #53187 [Sus->Tbd]: urlencode and ~ encodes differently in the various versions of the functions
| From: | frozenfire@php.net | Date: | Sun, 02 Jan 2011 21:03:30 +0000 |
| Subject: | Doc #53187 [Sus->Tbd]: urlencode and ~ encodes differently in the various versions of the functions | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5731@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53187&edit=1
ID: 53187
Updated by: frozenfire@php.net
Reported by: asphp at dsgml dot com
Summary: urlencode and ~ encodes differently in the various
versions of the functions
-Status: Suspended
+Status: To be documented
Type: Documentation Problem
Package: Documentation problem
PHP Version: trunk-SVN-2010-10-27 (SVN)
-Assigned To: frozenfire
+Assigned To:
Block user comment: N
Private report: N
New Comment:
Changed to "to be documented".
Previous Comments:
------------------------------------------------------------------------
[2010-11-07 15:55:57] frozenfire@php.net
Alright, the EBCDIC version of rawurlencode has been fixed in SVN
(http://bugs.php.net/bug.php?id=53248), but of course that won't show up
just yet.
Once the fix is released, I'll make a note in the documentation to that
effect.
------------------------------------------------------------------------
[2010-11-07 06:52:36] asphp at dsgml dot com
In the function: php_raw_url_encode
Change:
if (!isalnum(str[y]) && strchr("_-.", str[y]) != NULL) {
to:
if (!isalnum(str[y]) && strchr("_-.~", str[y]) != NULL) {
(Around line 588, add the ~ to the EBCDIC version of the function.)
------------------------------------------------------------------------
[2010-11-07 02:31:54] frozenfire@php.net
Could you please provide more information regarding the discrepancy in
the EBCDIC version? I'm not familiar with EBCDIC.
------------------------------------------------------------------------
[2010-11-07 02:10:47] asphp at dsgml dot com
Thanks for fixing this!
I think you should also fix the inconsistency between the ASCII and
EBCDIC versions before closing this. (I know EBCDIC doesn't work right,
but the bug should be fixed for whenever it does work.)
Should I reopen it?
------------------------------------------------------------------------
[2010-11-06 20:16:13] frozenfire@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=53187
--
Edit this bug report at http://bugs.php.net/bug.php?id=53187&edit=1