diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:45:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:45:22 +0000 |
commit | dba8cc4290faf96a22ec63c2aa4fcab6bf3acc8f (patch) | |
tree | 30de89024109eff10978e6b95ebd9b403a3e37b7 /__tests__/load/foxyproxy-template.json | |
parent | Initial commit. (diff) | |
download | foxyproxy-firefox-extension-dba8cc4290faf96a22ec63c2aa4fcab6bf3acc8f.tar.xz foxyproxy-firefox-extension-dba8cc4290faf96a22ec63c2aa4fcab6bf3acc8f.zip |
Adding upstream version 7.5.1+dfsg.upstream/7.5.1+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '__tests__/load/foxyproxy-template.json')
-rw-r--r-- | __tests__/load/foxyproxy-template.json | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/__tests__/load/foxyproxy-template.json b/__tests__/load/foxyproxy-template.json new file mode 100644 index 0000000..4283aa9 --- /dev/null +++ b/__tests__/load/foxyproxy-template.json @@ -0,0 +1,69 @@ +{ + "mode": "patterns", + "proxySettings": [ + { + "title": "some title", + "type": 3, + "color": "#3860cc", + "address": "123.123.123.123", + "port": 123, + "username": "foo", + "password": "bar", + "active": true, + "whitePatterns": [ + { + "title": "everything", + "active": true, + "pattern": "*", + "type": 1, + "protocols": 1 + } + ], + "blackPatterns": [ + { + "title": "local hostnames (usually no dots in the name). Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.", + "active": true, + "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?(?:localhost|127\\.\\d+\\.\\d+\\.\\d+)(?::\\d+)?(?:/.*)?$", + "type": 2, + "protocols": 1 + }, + { + "title": "local subnets (IANA reserved address space). Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.", + "active": true, + "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?(?:192\\.168\\.\\d+\\.\\d+|10\\.\\d+\\.\\d+\\.\\d+|172\\.(?:1[6789]|2[0-9]|3[01])\\.\\d+\\.\\d+)(?::\\d+)?(?:/.*)?$", + "type": 2, + "protocols": 1 + }, + { + "title": "localhost - matches the local host optionally prefixed by a user:password authentication string and optionally suffixed by a port number. The entire local subnet (127.0.0.0/8) matches. Pattern exists because 'Do not use this proxy for localhost and intranet/private IP addresses' is checked.", + "active": true, + "pattern": "^(?:[^:@/]+(?::[^@/]+)?@)?[\\w-]+(?::\\d+)?(?:/.*)?$", + "type": 2, + "protocols": 1 + } + ], + "id": "5yunu1562958387189" + }, + { + "title": "Default", + "type": 5, + "color": "#0055e5", + "active": true, + "whitePatterns": [ + { + "title": "all URLs", + "active": true, + "pattern": "*", + "type": 1, + "protocols": 1 + } + ], + "blackPatterns": [], + "id": "k20d21508277536715" + } + ], + "logging": { + "size": 500, + "active": true + } +}
\ No newline at end of file |