Stanford / WMD

WebAuth Module for Drupal
WMD
GNU General Public License v2.0
9 stars 9 forks source link

Slashes stripped out on redirect for sites with a vanity URL #99

Open mistermarco opened 12 years ago

mistermarco commented 12 years ago

In webauth_error_page, the following line: $redirect = str_replace(base_path(), '', $uri); removes all slashes from a destination if the site has a vanity URL, because in that case, the base_path is /

Look at the 7.x version for fix where we use get_destination instead.