Opened 13 years ago
Closed 12 years ago
#5812 closed enhancement (wontfix)
Should look for =%3F in addition to =?
Reported by: | harrisms | Owned by: | Rick Waldron |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | ajax | Version: | 1.4 |
Keywords: | ajaxrewrite | Cc: | |
Blocked by: | #8054 | Blocking: |
Description
The ajax function searches for =? in the data string to replace it with =jsonp..., but it does that *after* the data string is constructed by the param function, which uses encodeURIComponent to turn =? into =%F.
A quick fix is to modify the jsre regex to match =%3F too.
Change History (6)
comment:1 Changed 12 years ago by
Milestone: | 1.4.1 → 1.5 |
---|---|
Owner: | set to Rick Waldron |
Priority: | minor → low |
Status: | new → assigned |
Type: | bug → enhancement |
comment:2 Changed 12 years ago by
Keywords: | ajaxrewrite added |
---|
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 Changed 12 years ago by
Blocked by: | 8054 added |
---|---|
Resolution: | → wontfix |
Status: | reopened → closed |
This enhancement breaks legitimate uses of ? in url or data. The fix was reverted here 325dcdc
Note: See
TracTickets for help on using
tickets.
Fixes #5812. =? will be detected even when it has been escaped during data serialization.