thoughtbot/clearance — Issue #171: Clearance strips out the hash params in urls after authentication
Author: abelmartin
Created: 2011-10-11 21:06:54+00:00
State: open

Hi,
I'm using...
* Clearance (0.6.9)
* Rails (2.3.2)
* Ruby (1.8.7-p174)

Say I have a URL like this:
http://www.foo.com/myspa#search=github

...where '*myspa*' is a protected page. Clearance displays the login challenge as expected, but when the user successfully authenticates, the get redirected here:

http://www.foo.com/myspa

...without the hash route. Is there something I can do force Clearance to preserve the hash route? Is this something newer versions of Clearance returns and I simply need to upgrade?