dcache icon indicating copy to clipboard operation
dcache copied to clipboard

No empty string aloud for "Authorization: Basic "

Open mksahakyan opened this issue 6 months ago • 0 comments

the rest Api call with an empty Basic authorization :

curl -v -k -L -H "Authorization: Basic " -H "Authorization: Bearer " --upload-file pom.xml "https://localhost:2881/tape/file.txt"

returns

LOGIN FAIL | in: LoginNamePrincipal[] | Origin[127.0.0.1] | out: LoginNamePrincipal[] | Origin[127.0.0.1] |

this should throw IllegalArgumentException after checking if the authData is an empty tring

mksahakyan avatar Jun 24 '25 12:06 mksahakyan