Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2014 at 17:56 UTC
Updated:
6 May 2014 at 07:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
quicksketchCould you provide an example of the URL you're entering into the Custom URL redirect? Is it a full URL or just a relative path?
Comment #2
nodecode commentedRelative like this: target-page
Comment #3
quicksketchThanks, on my localhost I had been working with clean URLs turned off, so I wasn't seeing this problem. This was a side-effect of the better token supported added in #1244072: Use of tokens in external URL redirect locations not allowed in some cases and not URL Encoded. This patch corrects the problem, always returning an absolute URL, which then gets trimmed down to convert it to a relative URL in webform_client_form_submit().
Comment #5
fenstratNeeds porting to 8.x-4.x.
Comment #6
fenstratCommitted and pushed 2e0f9d9 to 8.x-4.x. Thanks!