stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 111 forks source link

next URI must be encoded in the form action for query strings to work… #612

Open bosticka opened 7 years ago

bosticka commented 7 years ago

… 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.

robertjd commented 7 years ago

Thanks @bosticka ! We're busy building the next 4.x version, but I will review this as soon as possible.