express-stormpath
express-stormpath copied to clipboard
next URI must be encoded in the form action for query strings to work…
… on redirect.
formAction is not encoded. So if your next URI has a query string, its then a query string in side a query string and breaks. Wrapping in encodeURIComponent fixes. Please pull.
Thanks @bosticka ! We're busy building the next 4.x version, but I will review this as soon as possible.