Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 May 2014 at 19:13 UTC
Updated:
15 Mar 2015 at 20:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
danchadwick commentedThis is a bit tricky to fix. You would like to give the tokens an opportunity to be substituted into '<front>'. My solution was to move the replacement of the base_url into webform_replace_url_tokens. After the replacement is complete, if the URL is an empty string and if '<front>' appeared in the path passed to url(), then use a redirect of '/', rather than empty.
Because there have been several issues with redirect, it would be good to put some eyes on this and test it as part of a release candidate. I choose the solution above so as to affect other cases as little as possible so as to not introduce further regression issues.
Comment #4
danchadwick commentedCommitted to 7.x-4.x. Backport. Committed to 8.x
Comment #5
danchadwick commentedComment #7
danchadwick commented