Closed (fixed)
Project:
Secure Pages
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Apr 2009 at 15:49 UTC
Updated:
25 May 2009 at 06:30 UTC
While working with ubercart for the first time I ran into a situation when securepages_get_query() produces errors. The reason is that query string contains destination[]=SOME_DESTINATION and parse_str() turns destination[] into an array instead of a string containing "[]".
I attached a patch that uses another strategy to strip "q" from query string. Additionally my patch replaces urlencode() by rawurlencode() because that's what used by drupal_urlencode().
| Comment | File | Size | Author |
|---|---|---|---|
| securepages.keep-query-string.patch | 1.09 KB | mkalkbrenner |
Comments
Comment #1
gordon commentedThanks I have committed this to dev.