Apache allow OIDC (#6893)

fix https://github.com/FreshRSS/FreshRSS/issues/6890
Fix regression from https://github.com/FreshRSS/FreshRSS/pull/6881
This commit is contained in:
Alexandre Alapetite
2024-10-13 18:04:06 +02:00
committed by GitHub
parent ccb132523a
commit a686429090
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Copy this file to `.htaccess` for additional root-level protection
# if you cannot set Apache `DocumentRoot` to `./p/` as recommended.
# Deny files starting with a dot, or without extension, or not in a whitelist of extensions
<FilesMatch "^\.|^[^.]+$|\.(?!css|gif|html|ico|js|php|png|svg|txt|woff|woff2)[^.]*$">
# Deny files starting with a dot, or without extension (except some), or not in a whitelist of extensions
<FilesMatch "^\.|^(?!oidc)[^.]+$|\.(?!css|gif|html|ico|js|php|png|svg|txt|woff|woff2)[^.]*$">
Require all denied
</FilesMatch>

View File

@@ -1,6 +1,6 @@
<IfModule mod_authz_core.c>
# Deny files starting with a dot, or without extension, or not in a whitelist of extensions
<FilesMatch "^\.|^[^.]+$|\.(?!css|gif|html|ico|js|php|png|svg|txt|woff|woff2)[^.]*$">
# Deny files starting with a dot, or without extension (except some), or not in a whitelist of extensions
<FilesMatch "^\.|^(?!oidc)[^.]+$|\.(?!css|gif|html|ico|js|php|png|svg|txt|woff|woff2)[^.]*$">
Require all denied
</FilesMatch>
</IfModule>