Under submission settings > custom URL, when I entered a url like: thankyou?template=test the page redirect to a broken url with the special characters replaced by html codes.
This worked fine on 3.x branch, but after uploading to 4-alpha it apparently broke.
Idan
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2032793-query-string-url-5.patch | 679 bytes | ianthomas_uk |
Comments
Comment #1
Exploratus commentedI have this problem.
Comment #2
grahamcComment #3
mjcarter commentedComment #4
ianthomas_ukThis was broken by a change in #828566-72: Webform Token support on confirmation message (that wasn't in #66), specifically:
I think the indended change here was:
I'll write a patch that adds back the drupal_parse_url call but doesn't add the sid.
Comment #5
ianthomas_ukHere's my patch to restore this functionality
Comment #6
robwilmshurst commentedLooks good to me. Verified against a couple of different webform instances.
Comment #7
quicksketchThanks for the patch. These seems like it may overlap or affect #1244072: Use of tokens in external URL redirect locations not allowed in some cases and not URL Encoded. Do you think you'd have a chance to see if these could be combined or get working together?
Comment #8
ianthomas_ukI've included this patch in the new patch on #1244072: Use of tokens in external URL redirect locations not allowed in some cases and not URL Encoded