Patch27: iconsizes-dump.patch
Patch28: https://github.com/dokuwiki/dokuwiki/pull/2432.diff
# Patch28-md5: 5afbddfdd2b5c3a72377ead41da555af
+Patch29: tokenauth-lowercase-header.patch
URL: https://www.dokuwiki.org/
BuildRequires: fslint
BuildRequires: rpm-php-pearprov >= 4.4.2-11
#%patch24 -p1
%patch27 -p1
%patch28 -p1
+%patch29 -p1
%patch66 -p1
# package as basenames, upgrade overwrite protected with .rpmnew
--- /dev/null
+--- dokuwiki-2023-04-04/inc/auth.php~ 2023-04-28 23:43:03.000000000 +0300
++++ dokuwiki-2023-04-04/inc/auth.php 2023-04-29 00:53:43.324078441 +0300
+@@ -177,6 +177,7 @@
+ // Authorization headers are not in $_SERVER for mod_php
+ $headers = apache_request_headers();
+ if(isset($headers['Authorization'])) $header = $headers['Authorization'];
++ if(!$header && isset($headers['authorization'])) $header = $headers['authorization'];
+ } else {
+ $header = $INPUT->server->str('HTTP_AUTHORIZATION');
+ }