http
http copied to clipboard
Following redirects drops cookies.
Reported by @oz: https://github.com/httprb/http/issues/263#issuecomment-156260388
Upon following redirects, redirector should send cookies that were sent in response.
Note that this needs to be done carefully with respect to cookie domain scoping rules or it's a potential security vulnerability (e.g. in conjunction with an open redirect)
Good catch. Bright side is that Cookie::Jar has that feature already ;)) So I'll just need to make sure to use it :D
Hi, looking for some feedback in https://github.com/httprb/http/pull/613 that addresses this issue.
@Kache thank you, sorry for being a bit slow on this, will tackle your PR this weekend.