express-stormpath icon indicating copy to clipboard operation
express-stormpath copied to clipboard

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

Open bosticka opened this issue 7 years ago • 1 comments

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

bosticka avatar Apr 18 '17 15:04 bosticka

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

robertjd avatar Apr 19 '17 16:04 robertjd