[master] 085c21d3f Updating devicedetect.vcl to upstream

Martin Blix Grydeland martin at varnish-software.com
Thu Sep 15 08:35:06 UTC 2022


commit 085c21d3fe9cf6ddc8ae24f47359f934ce775c27
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Thu Sep 15 10:33:39 2022 +0200

    Updating devicedetect.vcl to upstream

diff --git a/etc/devicedetect.vcl b/etc/devicedetect.vcl
index 006cc6843..88cfe6721 100644
--- a/etc/devicedetect.vcl
+++ b/etc/devicedetect.vcl
@@ -34,7 +34,7 @@ sub devicedetect {
 	unset req.http.X-UA-Device;
 	set req.http.X-UA-Device = "pc";
 
-	# Handle that a cookie may override the detection alltogether.
+	# Handle that a cookie may override the detection altogether.
 	if (req.http.Cookie ~ "(?i)X-UA-Device-force") {
 		/* ;?? means zero or one ;, non-greedy to match the first. */
 		set req.http.X-UA-Device = regsub(req.http.Cookie, "(?i).*X-UA-Device-force=([^;]+);??.*", "\1");


More information about the varnish-commit mailing list