Closed (fixed)
Project:
Forward
Version:
7.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2013 at 09:00 UTC
Updated:
15 Apr 2013 at 20:30 UTC
When I put the option to open the forward form in a colorbox I always get redirected to the homepage after submitting te form.
It should redirect to the page you forwarded, or am I wrong here?
Comments
Comment #1
SandraVdv commentedIn the forward.module on line 1152 the following code exists:
Why is
drupal_lookup_path('alias', $returnurl)used? It returns nothing if no alias is found...if
drupal_get_path_alias($returnurl)would be used it would return the alias if found, otherwise the internal drupal path. In that case a path/url is always returned and it will always redirect to the page you just forwarded.Comment #2
john.oltman commentedAgreed, this change has been committed and will be in the next DEV build.