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:
Offending Commit
2026-04-24 17:03:31 -05:00
parent 92c4dfd3dd
commit 1d09547990

View File

@@ -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"