Query fragment being encoded
cocoliso - March 31, 2009 - 19:06
| Project: | Pathologic |
| Version: | 6.x-2.0-beta19 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I noticed that some characters are urlencoded when pathologic is enabled
for example:
cart/add/p30_q1?destination=cart
are transform to this:
cart/add/p30_q1%3Fdestination%3Dcart
which breaks the url redirection...
If I disable pathologic the url is not encoded and everything works as usual...any ideas?
Regards,
Sebastian

#1
Hi… Just want to acknowledge that I've seen your message, but I can't quite work on it just yet. Thanks for trying Pathologic, though.
#2
Hey Garret thank for the reply and for making this module.
No rush :-)
#3
Hi there. Still trying to use Pathologic and having this problem?
When the next dev release (*not* the beta release… the dev releases on the project page have a red background) is available, please download it and give it a try. It will hopefully fix this problem.
#4
Hi Garrett, I am having this issue with the following URL:
/civicrm/profile/edit&gid=1&reset=1
becoming:
/civicrm/profile/edit%2526amp%3Bgid%3D1%2526amp%3Breset%3D1
I downloaded the latest dev release, but it doesn't seem to fix it. Can you post the new dev release you referred to or at least post a patch or which lines of code to change to fix this.
Thanks.
#5
Yeargh, okay. That's not how I was expecting query strings to look, but I guess it's legitimate. Thanks for noting it.
#6
All right, I've committed what may be a fix. The packaging robot should package together a new dev release soon; please give it a try.