CFHTTP can't handle azure blob urls

Description

I just hit this trying to download artifacts from github actions,

first thing was following a redirect seems to append headers to the redirects

400 Authentication information is not given in the correct format. Check the value of Authorization header

problem is

rscd=attachment%253B%2Bfilename%253D%2522Lucee-test-cross-reference-json-test-results-1389.zip%2522

get’s re-encoded as

rscd=attachment%3B+filename%3D%22Lucee-test-cross-reference-json-test-results-1389.zip%22

cfhttp encodeurl="false" seems to help

decodeFromurl doesn’t like this either, ESAPI throws an error

Multiple (2x) encoding detected in rscd=attachment%253B%2Bfilename%253D%2522Lucee-test-cross-reference-json-test-results-1389.zip%2522

Environment

None

Activity

Duplicate

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 30 November 2024 at 13:49
Updated 2 December 2024 at 14:32
Resolved 2 December 2024 at 14:32