diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-12-21 12:48:51 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-12-21 12:48:51 +0100 |
commit | b962664eb83a80d7a3f1e8b0284796d421a253c8 (patch) | |
tree | 6cefb288fe1d17d55cd74fd59626564361518ae3 /jdisc_core/src/test/java/com | |
parent | 4c1e1dff938c79360c8c9cf38c2dd9fd14845ee7 (diff) |
Require port to be present in given URI when specified in binding
Diffstat (limited to 'jdisc_core/src/test/java/com')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java index 4b5ff271dfa..4b196265e80 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java @@ -289,15 +289,6 @@ public class UriPatternTestCase { } @Test - public void requireThatUrisWithImplicitPortFromSchemeMatchesBindingWithExplicitPort() { - UriPattern httpPattern = new UriPattern("http://host:80/path"); - assertMatch(httpPattern, "http://host/path", NO_GROUPS); - - UriPattern httpsPattern = new UriPattern("https://host:443/path"); - assertMatch(httpsPattern, "https://host/path", NO_GROUPS); - } - - @Test public void requireThatHttpsSchemeIsHandledAsHttp() { UriPattern httpPattern = new UriPattern("http://host:80/path"); assertMatch(httpPattern, "https://host:80/path", NO_GROUPS); |