Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for malformed (0.07 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify that the XML formatting is correct - no malformed closing tags
                assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");
                assertFalse(result.contains("</plugins></pluginManagement>"), "Should not have malformed closing tags");
    
                // Check that proper indentation is maintained
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    # Test file for malformed robots.txt parsing
    # This file contains various malformed directives that should be handled gracefully
    
    # Case 1: Directives before any User-agent (should be ignored)
    Disallow: /orphaned1/
    Allow: /orphaned2/
    
    # Case 2: Valid user-agent with various malformed directives
    User-agent: GoodBot
    Disallow: /admin/
    InvalidDirective: some-value
    unknown-field: test
    Disallow /missing-colon
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        }
    
        /**
         * Parses a robots.txt file from the given input stream using the specified character encoding.
         *
         * <p>This method is designed to be resilient to malformed robots.txt files.
         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                LOGGER.warn("");
                LOGGER.warn("For this reason, future Maven versions might no"
                        + " longer support building such malformed projects.");
                LOGGER.warn("");
            }
    
            return projects;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Sep 30 08:09:09 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EnumsTest.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            throw new AssertionError("malformed class path entry: " + entry, e);
          }
        }
        return urls.build();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Malformed close payload length of 1.")
        }
      }
    
      @Test fun closeCallsCallback() {
        data.write("880703e848656c6c6f".decodeHex()) // Close with code and reason
        clientReader.processNextFrame()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                }
            } catch (final URISyntaxException | IllegalArgumentException e) {
                if (logger.isDebugEnabled()) {
                    logger.warn("Malformed URI: " + attrValue, e);
                } else {
                    logger.warn("Malformed URI: " + attrValue + " - " + e.getMessage());
                }
            }
        }
    
        /**
         * Encodes a URL using the specified character encoding.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         *
         * @param currentUrl the current URL
         * @param baseHref the base href value from HTML
         * @return the base URI
         * @throws URISyntaxException if the URI is malformed
         */
        protected URI getBaseUri(final String currentUrl, final String baseHref) throws URISyntaxException {
            if (baseHref != null) {
                return getURI(currentUrl, baseHref);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

             * and file name components.
             *
             * @param s The URL string to parse
             * @param c The character encoding (not currently used)
             * @throws CrawlingAccessException If the URL is invalid or malformed
             */
            public FtpInfo(final String s, final String c) {
                if (StringUtil.isBlank(s)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
Back to top