summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-16 14:08:55 +0300
committerValery Piashchynski <[email protected]>2021-06-16 14:08:55 +0300
commite400e1db79b1b173458dec90eeb59ebf3c0e7c37 (patch)
treee44e63c9ef790aa8822da72204fe2600db0c3a10 /plugins
parent8483f605037317e9ac266f893d8ef80ff3a6a56e (diff)
- Update CHANGELOG
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/websockets/origin_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/websockets/origin_test.go b/plugins/websockets/origin_test.go
index ccd94d21..e877fad3 100644
--- a/plugins/websockets/origin_test.go
+++ b/plugins/websockets/origin_test.go
@@ -41,7 +41,6 @@ func TestConfig_OriginWildCard(t *testing.T) {
assert.False(t, isOriginAllowed("asde!@#!!@#!%", cfg))
assert.False(t, isOriginAllowed("http://*.domain.com", cfg))
-
assert.False(t, isOriginAllowed("https://*site.com", cfg))
assert.True(t, isOriginAllowed("https://some.my.site.com", cfg))
}
@@ -63,7 +62,6 @@ func TestConfig_OriginWildCard2(t *testing.T) {
assert.False(t, isOriginAllowed("asde!@#!!@#!%", cfg))
assert.False(t, isOriginAllowed("http://*.domain.com", cfg))
-
assert.False(t, isOriginAllowed("https://*site.com", cfg))
assert.True(t, isOriginAllowed("https://my.bad.com", cfg))
}