SEC-1802: Add digits to valid URL scheme regex.
This commit is contained in:
@@ -13,6 +13,7 @@ public class UrlUtilsTests {
|
||||
@Test
|
||||
public void absoluteUrlsAreMatchedAsAbsolute() throws Exception {
|
||||
assertTrue(UrlUtils.isAbsoluteUrl("http://something/"));
|
||||
assertTrue(UrlUtils.isAbsoluteUrl("http1://something/"));
|
||||
assertTrue(UrlUtils.isAbsoluteUrl("HTTP://something/"));
|
||||
assertTrue(UrlUtils.isAbsoluteUrl("https://something/"));
|
||||
assertTrue(UrlUtils.isAbsoluteUrl("a://something/"));
|
||||
|
||||
Reference in New Issue
Block a user