aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2018-06-30 19:03:19 +0200
committerGitHub <[email protected]>2018-06-30 19:03:19 +0200
commit3292db3fdb6cf50852301b337999bafd17d41816 (patch)
tree23f3beb8de4258a0bc4be1c7be555755740a64bd /lib/erl_interface/src
parentbc22321f10c1ad71fb7e28275a8e6ed26a34d4ab (diff)
downloadotp-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 'lib/erl_interface/src')
0 files changed, 0 insertions, 0 deletions