- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Disallow (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertFalse(robotsTxt.allows("/store/public/sale", "PriorityBot")); // Most specific disallow assertFalse(robotsTxt.allows("/store/public/sale/item", "PriorityBot")); // Test SameLengthBot - Allow wins when same length as Disallow // Disallow: /page, Allow: /page assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* <li>Disallow and Allow directives with pattern matching</li> * <li>Wildcard (*) in paths - matches any sequence of characters</li> * <li>End-of-path ($) matching - matches the end of URL path</li> * <li>Crawl-delay directive</li> * <li>Sitemap directive</li> * <li>Comment support (#)</li> * <li>Priority-based matching (longest match wins, Allow beats Disallow at equal length)</li> * </ul> *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
directive.addDisallow("/admin/"); directive.addDisallow("/private/"); String[] disallows = directive.getDisallows(); assertEquals(2, disallows.length); assertEquals("/admin/", disallows[0]); assertEquals("/private/", disallows[1]); } public void test_directiveAddDisallowNoDuplicates() { // Test that addDisallow doesn't add duplicatesRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
*/ protected void initDisallowCompound(final String prop) { if (prop == null) { return; } final Set<String> disallow = new HashSet<>(); final StringTokenizer st = new StringTokenizer(prop, ","); while (st.hasMoreTokens()) { disallow.add(st.nextToken().trim()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
// Check protocol versions assertNotNull(testConfig.getMinimumVersion()); assertNotNull(testConfig.getMaximumVersion()); // Check disallow compound assertNotNull(testConfig.disallowCompound); assertTrue(testConfig.disallowCompound.contains("Smb2SessionSetupRequest")); assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
/* * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain * parts other than the last may begin with a digit (for example, "3com.com"). It's important to * disallow an initial digit in the last part; it's the only thing that stops an IPv4 numeric * address like 127.0.0.1 from looking like a valid domain name. */ if (isFinalPart && DIGIT_MATCHER.matches(part.charAt(0))) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
// contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
// contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@DisplayName("Should define isAllow method returning boolean") void shouldDefineIsAllow() { ACE allowAce = mock(ACE.class); ACE denyAce = mock(ACE.class); when(allowAce.isAllow()).thenReturn(true); when(denyAce.isAllow()).thenReturn(false); assertTrue(allowAce.isAllow()); assertFalse(denyAce.isAllow()); verify(allowAce).isAllow();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0)