Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

function _explode_segments #388

Closed
silv3rm00n opened this Issue · 1 comment

2 participants

Silver Moon Andrey Andreev
Silver Moon

Instead of this :

$this->segments[] = $val;

how about this :

$this->segments[] = urldecode($val);

In a certain case where the segments contained [ or ] characters the uri parsing was incorrect.

Regards
Silver

Andrey Andreev
Owner

Can you give an example of when/how it fails?

Andrey Andreev narfbg referenced this issue from a commit
Andrey Andreev narfbg Fix issues #388 & #705
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616
9dd2dbb
Andrey Andreev narfbg closed this
Kyra Zimmer nonchip referenced this issue from a commit in nonchip/CodeIgniter
Andrey Andreev narfbg Fix issues #388 & #705
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616
eb43188
Andrey Andreev narfbg referenced this issue from a commit
Andrey Andreev narfbg Fix #3593
Revert "fixes" for #167, #388, #705 (also #1326) as it turns out
URL-decoding isn't compliant with the CGI/1.1 specification.

RFC 3875: http://www.faqs.org/rfcs/rfc3875.html
0ae4e6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.