Resolve #383 redirect with protocol change#396
Resolve #383 redirect with protocol change#396ath0mas wants to merge 2 commits intosilkimen:masterfrom
Conversation
|
More results for this spec :
|
|
Thanks for looking into this issue! |
5f9d47f to
4dd059b
Compare
|
My fix is running well with the original tests table and with the spec added here 2 days ago. Should it manage a maximum number of redirections? add a user option like the okhttp followSslRedirects? catch invalid url? match a more reduced set of redirect response codes? |
|
When this PR joins to repo? |
|
Hey guys, sorry for late response. I think this implementation is very dangerous. As far as I understand, you do not check if the redirect URL requests a HTTPS upgrade (requesting HTTP --> redirected to HTTPS) or a downgrade (requesting HTTPS --> redirected to HTTP). Downgrades shouldn't be allowed, or at least it should be configurable to prevent that. |
e8a8d65 to
0ccf64e
Compare
1a1c9e0 to
ed08534
Compare
449aa28 to
6fc8a7e
Compare
3af6958 to
41861aa
Compare
9b9ca58 to
af5e069
Compare
Fix #383