summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-05 13:20:27 -0300
committerSebastian <sebasjm@gmail.com>2023-05-05 13:20:48 -0300
commita0bf83fbb5db026389cc7d203adcff050d5a1b28 (patch)
tree8d8127584ed2377d4fd90d6a76417c407cfdc9af /packages
parent9a412260f3b0a53b1508e2db8724a0c58ce080cf (diff)
downloadwallet-core-a0bf83fbb5db026389cc7d203adcff050d5a1b28.tar.gz
wallet-core-a0bf83fbb5db026389cc7d203adcff050d5a1b28.tar.bz2
wallet-core-a0bf83fbb5db026389cc7d203adcff050d5a1b28.zip
URL.protocol return with a colon at the end
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-util/src/http-impl.qtart.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-impl.qtart.ts b/packages/taler-util/src/http-impl.qtart.ts
index 3a963b35a..3e076e96d 100644
--- a/packages/taler-util/src/http-impl.qtart.ts
+++ b/packages/taler-util/src/http-impl.qtart.ts
@@ -72,7 +72,7 @@ export class HttpLibImpl implements HttpRequestLibrary {
`request to origin ${parsedUrl.origin} was throttled`,
);
}
- if (!this.allowHttp && parsedUrl.protocol !== "https") {
+ if (!this.allowHttp && parsedUrl.protocol !== "https:") {
throw TalerError.fromDetail(
TalerErrorCode.WALLET_NETWORK_ERROR,
{