Skip to content

Commit 9f5caf7

Browse files
authored
test(shared): cover explicit HTTPS port
Generated-By: PostHog Code Task-Id: 864ed341-adf3-40b7-b37c-baef45c4f05d
1 parent e01a82f commit 9f5caf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/shared/src/url.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ describe("isSafeExternalUrl", () => {
66
"https://github.com/PostHog/code/pull/42",
77
"http://example.com",
88
"https://example.com/path?q=1#frag",
9+
"https://example.com:443/path",
910
"HTTPS://EXAMPLE.COM",
1011
"mailto:hi@posthog.com",
1112
])("allows %s", (url) => {

0 commit comments

Comments
 (0)