phatworx/devise_security_extension — pull request #53 by jamiecobbett (2013-06-26 10:15:59+00:00)
Title: Return the user to the full path they requested

"path" will only include the path, whereas "fullpath" includes any querystring, which is a semantic part of the URL.

This emulates the behaviour of Devise in FailureApp, which uses Warden's "attempted_path", which Warden sets to "fullpath".

As an example, this broke an OAuth interaction which needed querystring parameters passed in the initial GET request.