- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for invalid_url (0.06 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
assertEquals(expectedEndpoint, binding.getEndpoint()); } @ParameterizedTest @DisplayName("Should reject invalid binding URLs") @ValueSource(strings = { "invalid_url", "proto:", "proto:server[]", "proto:[key=]", "proto:[=value]", "proto:server[endpoint=]", "proto:[endpoint=]" }) void testParseInvalidBindingUrls(String url) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/' when(locator.getURL()).thenReturn(invalidUrl); SmbException ex = assertThrows(SmbException.class, () -> new DirFileEntryEnumIterator1(tree, parent, "*", (ResourceNameFilter) null, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
assertTrue(sitemapsHelper.isValidUrl("http://www.example.com")); assertTrue(sitemapsHelper.isValidUrl("https://www.example.com")); // Invalid URL assertFalse(sitemapsHelper.isValidUrl(null)); assertFalse(sitemapsHelper.isValidUrl("")); assertFalse(sitemapsHelper.isValidUrl("ftp://www.example.com")); assertFalse(sitemapsHelper.isValidUrl("http://" + "a".repeat(2048)));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
} /** * Validates a URL length according to sitemap specification. * @param url the URL to validate * @return true if valid, false otherwise */ protected boolean isValidUrl(final String url) { if (url == null || url.isEmpty()) { return false; } if (url.length() > MAX_URL_LENGTH) { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
/** * Validates if the given URL string is a valid URL. * * @param urlStr the URL string to validate * @return true if the URL is valid, false otherwise */ protected boolean isValidUrl(final String urlStr) { if (StringUtil.isBlank(urlStr)) { return false; } final String value; if (urlStr.startsWith("://")) { value = "http" + urlStr;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Dec 12 13:58:40 UTC 2025 - 54.6K bytes - Viewed (0)