diff options
author | José Valim <[email protected]> | 2018-06-30 19:03:19 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-30 19:03:19 +0200 |
commit | 3292db3fdb6cf50852301b337999bafd17d41816 (patch) | |
tree | 23f3beb8de4258a0bc4be1c7be555755740a64bd /LICENSE.txt | |
parent | bc22321f10c1ad71fb7e28275a8e6ed26a34d4ab (diff) | |
download | otp-3292db3fdb6cf50852301b337999bafd17d41816.tar.gz otp-3292db3fdb6cf50852301b337999bafd17d41816.tar.bz2 otp-3292db3fdb6cf50852301b337999bafd17d41816.zip |
Include question mark in query string on redirect
According to the code in httpc.erl, the pquery parameter in the
#request record should start with a question mark. However, when
a server returned a 403 response, the Location header was parsed
and the question mark was not added to the beginning of the query
string. This ultimately causes the redirect to fail, as instead of
redirecting to "/path?query", httpc redirected to "/pathquery".
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions