]> git.pld-linux.org Git - packages/dokuwiki.git/blame - tokenauth-lowercase-header.patch
Cleanup unused more-buttons.patch
[packages/dokuwiki.git] / tokenauth-lowercase-header.patch
CommitLineData
57eb0ff5
ER
1--- dokuwiki-2023-04-04/inc/auth.php~ 2023-04-28 23:43:03.000000000 +0300
2+++ dokuwiki-2023-04-04/inc/auth.php 2023-04-29 00:53:43.324078441 +0300
3@@ -177,6 +177,7 @@
4 // Authorization headers are not in $_SERVER for mod_php
5 $headers = apache_request_headers();
6 if(isset($headers['Authorization'])) $header = $headers['Authorization'];
7+ if(!$header && isset($headers['authorization'])) $header = $headers['authorization'];
8 } else {
9 $header = $INPUT->server->str('HTTP_AUTHORIZATION');
10 }
This page took 0.102639 seconds and 4 git commands to generate.