From da945602e4563c5cd74290a54d3ecd47f3557ab4 Mon Sep 17 00:00:00 2001 From: Kevin O'Gorman Date: Mon, 23 Nov 2020 15:08:47 -0500 Subject: [PATCH] Updated Tor Browser UA matches to include recent MacOS versions --- securedrop/static/js/source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securedrop/static/js/source.js b/securedrop/static/js/source.js index 3a9da766ab..ebe7b91b32 100644 --- a/securedrop/static/js/source.js +++ b/securedrop/static/js/source.js @@ -1,4 +1,4 @@ -const TBB_UA_REGEX = /Mozilla\/5\.0 \((Windows NT 10\.0|X11; Linux x86_64|Macintosh; Intel Mac OS X 10\.14|Windows NT 10\.0; Win64; x64); rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/; +const TBB_UA_REGEX = /Mozilla\/5\.0 \((Windows NT 10\.0|X11; Linux x86_64|Macintosh; Intel Mac OS X 10\.[0-9]{2}|Windows NT 10\.0; Win64; x64|Android; Mobile); rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/ const ORFOX_UA_REGEX = /Mozilla\/5\.0 \(Android; Mobile; rv:[0-9]{2}\.0\) Gecko\/20100101 Firefox\/([0-9]{2})\.0/; function fadeIn(el, duration = 200, displayStyle = "block") {