Fix misplaced '?' in regexp from 52d5652540
This commit is contained in:
parent
52d5652540
commit
035aac30f2
1 changed files with 1 additions and 1 deletions
|
@ -1963,7 +1963,7 @@ Zotero.VersionHeader = {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Use "Firefox/[version]" in user agent if not a proxy check or file sync request
|
// Use "Firefox/[version]" in user agent if not a proxy check or file sync request
|
||||||
let s3RE = /(zoteroproxycheck|zoterofilestorage(test))?\.s3\.(us-east-1\.)?amazonaws\.com/;
|
let s3RE = /(zoteroproxycheck|zoterofilestorage(test)?)\.s3\.(us-east-1\.)?amazonaws\.com/;
|
||||||
let isAppNameDomain = s3RE.test(domain);
|
let isAppNameDomain = s3RE.test(domain);
|
||||||
if (!isAppNameDomain) {
|
if (!isAppNameDomain) {
|
||||||
let ua = channel.getRequestHeader('User-Agent');
|
let ua = channel.getRequestHeader('User-Agent');
|
||||||
|
|
Loading…
Reference in a new issue