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",
|
||||
"allow": [
|
||||
{ "url": "http://**" },
|
||||
{ "url": "https://**" }
|
||||
{ "url": "http://*" },
|
||||
{ "url": "http://*:*" },
|
||||
{ "url": "https://*" },
|
||||
{ "url": "https://*:*" }
|
||||
]
|
||||
},
|
||||
"shell:allow-open"
|
||||
|
||||
Reference in New Issue
Block a user