mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 12:24:46 -04:00
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:
committed by
GitHub
parent
ccb132523a
commit
a686429090
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user