[paste-web/oscp] Drop double quotes around regexes



commit 9e5c7c7d9a5aae3a4f277c4c223c15d4df0d38dd
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Apr 30 12:21:31 2020 +0200

    Drop double quotes around regexes

 paste.gnome.org.conf | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/paste.gnome.org.conf b/paste.gnome.org.conf
index 22e76cd7..e835b1ff 100644
--- a/paste.gnome.org.conf
+++ b/paste.gnome.org.conf
@@ -21,13 +21,13 @@
 
         <Directory /var/www/html/paste.gnome.org/public>
            RewriteEngine on
-           RewriteCond "%{HTTP_USER_AGENT}" "^omgili"
+           RewriteCond "%{HTTP_USER_AGENT}" ^omgili
            RewriteRule . - [F]
 
-           RewriteCond %{REQUEST_URI} "^/api/xml" [OR]
-           RewriteCond %{REQUEST_URI} "^/search" [OR]
-           RewriteCond %{REQUEST_URI} "^/all" [OR]
-           RewriteCond %{REQUEST_URI} "^/trending"
+           RewriteCond %{REQUEST_URI} ^/api/xml [OR]
+           RewriteCond %{REQUEST_URI} ^/search [OR]
+           RewriteCond %{REQUEST_URI} ^/all [OR]
+           RewriteCond %{REQUEST_URI} ^/trending
            RewriteRule ^.*$ - [F,L]
 
            Options Indexes FollowSymLinks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]