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 ...
|
e2905cd4 | 26-Jan-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix accidental overwriting of variable in bulkmailer #3862
When the bulkmailer tries to skip own or minor edits, it was overwriting $rev with a timestamp instead of using the proper array structure
fix accidental overwriting of variable in bulkmailer #3862
When the bulkmailer tries to skip own or minor edits, it was overwriting $rev with a timestamp instead of using the proper array structure returned by getRevisionInfo().
This also moves the initialization of the PageChangeLog object out of the while loop to ensure it's inner caching mechanism is utilized when fetching the info.
This should fix #3862
show more ...
|
173de31c | 24-Jan-2023 |
Moritz Raguschat <moritz.raguschat@web.de> |
Avoid some unnecessary index file writes.
word_idx modified should be reset to false for each word index file, or all unchanged word index files after the first changed one will be resaved unnecessa
Avoid some unnecessary index file writes.
word_idx modified should be reset to false for each word index file, or all unchanged word index files after the first changed one will be resaved unnecessarily.
show more ...
|