| 62bf3ac0 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
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, whi
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.
show more ...
|
| b6f8a5c6 | 03-Feb-2023 |
Damien Regad <dregad@mantisbt.org> |
getVersion() now prints Git commit hash
If DokuWiki is running from Git, on Admin page Version will be shown as `Git YYYY-MM-DD (<COMMIT>)`.
COMMIT is the abbreviated hash if shell_exec() can be us
getVersion() now prints Git commit hash
If DokuWiki is running from Git, on Admin page Version will be shown as `Git YYYY-MM-DD (<COMMIT>)`.
COMMIT is the abbreviated hash if shell_exec() can be used to retrieve information from git log, or the full hash otherwise.
Fixes #3877
show more ...
|