]> git.pld-linux.org Git - packages/dokuwiki.git/blob - tokenauth-lowercase-header.patch
Up to 20230404a
[packages/dokuwiki.git] / tokenauth-lowercase-header.patch
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.076561 seconds and 3 git commands to generate.