fix(desktop): correct http capability url patterns for non-standard ports
http://** uses ** in hostname which is not valid URL Pattern spec. Hostname wildcard is * (not **); non-default ports require the *:* host:port form. Add all four variants to cover http/https on both default and non-default ports.
This commit is contained in:
@@ -8,8 +8,10 @@
|
|||||||
{
|
{
|
||||||
"identifier": "http:default",
|
"identifier": "http:default",
|
||||||
"allow": [
|
"allow": [
|
||||||
{ "url": "http://**" },
|
{ "url": "http://*" },
|
||||||
{ "url": "https://**" }
|
{ "url": "http://*:*" },
|
||||||
|
{ "url": "https://*" },
|
||||||
|
{ "url": "https://*:*" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"shell:allow-open"
|
"shell:allow-open"
|
||||||
|
|||||||
Reference in New Issue
Block a user