Unverified Commit fb0b9377 authored by guillaume quintard's avatar guillaume quintard Committed by GitHub

Merge pull request #47 from cantoute/patch-1

typo
parents 188ffb05 a76b3bdf
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment