diff options
author | Damien Regad <dregad@mantisbt.org> | 2023-02-03 19:26:40 +0100 |
---|---|---|
committer | Damien Regad <dregad@mantisbt.org> | 2023-02-04 15:54:34 +0100 |
commit | 62bf3ac09f90958915554bd2a0c721008a729559 (patch) | |
tree | f8ea3963e2e2e825c7a8722fba79def5f170301e /lib/scripts/jquery/jquery-ui.min.js | |
parent | fdda8c3307bccec7b153eb1813a199747734645a (diff) | |
download | dokuwiki-62bf3ac09f90958915554bd2a0c721008a729559.tar.gz dokuwiki-62bf3ac09f90958915554bd2a0c721008a729559.zip |
Check Basic Auth scheme in Authorization header
Prior to this, auth_setup() would simply assume that the Authorization
header was using the Basic auth scheme, but there are other available
ones, which could result in incorrect processing of the header's data.
We now specifically check that we have the `Basic` scheme, and only then
perform the base64_decode to get the username and password.
Diffstat (limited to 'lib/scripts/jquery/jquery-ui.min.js')
0 files changed, 0 insertions, 0 deletions