From e79b97994420dd9c71481f6d940891b061075a9e Mon Sep 17 00:00:00 2001 From: karendm Date: Mon, 30 Jan 2023 12:45:04 -0500 Subject: [PATCH] added double quotes to user agent string --- cs2modrewrite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs2modrewrite.py b/cs2modrewrite.py index c376243..64e1394 100644 --- a/cs2modrewrite.py +++ b/cs2modrewrite.py @@ -125,7 +125,7 @@ ## Default Beacon Staging Support (/1234) RewriteCond %{{REQUEST_METHOD}} GET [NC] RewriteCond %{{REQUEST_URI}} ^/..../?$ -RewriteCond %{{HTTP_USER_AGENT}} ^({uas})$ +RewriteCond %{{HTTP_USER_AGENT}} "^({uas})$" RewriteRule ^.*$ "{c2server}%{{REQUEST_URI}}" [P,L] """ # Replace variables in staging block