AnomalyInnovations / serverless-stack-demo-client

Source for the demo app client in the Serverless Stack Guide
https://demo2.serverless-stack.com
MIT License
636 stars 204 forks source link

`querystring` function cuts off args in url redirected to #58

Open pblankley opened 3 years ago

pblankley commented 3 years ago

https://serverless-stack.com/chapters/redirect-on-login.html

The above chapter specifies a function querystring. This function fails by taking a url of type

/login?redirect=/myaccouny?somearg=hithere&diffarg=hello&random=2019235929rwfsjfoo98iuih

and redirecting to

/myaccouny?somearg=hithere

cutting off any additional query args after the first one in the url redirected to

jayair commented 3 years ago

Good catch. We'll get that fixed.