Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for unescaping (0.07 sec)

  1. guava/src/com/google/common/net/UrlEscapers.java

       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
       * href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">replacing
       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

     * array contains information about special ASCII characters such as {@code \\t} and {@code \\n}
     * while {@link #escapeUnsafe} is overridden to handle general escaping of the form {@code \\uxxxx}.
     *
     * <p>The size of the data structure used by {@link ArrayBasedCharEscaper} is proportional to the
     * highest valued character that requires escaping. For example a replacement map containing the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
       * href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">replacing
       * any unpaired carriage return or line feed characters with a CR+LF pair</a> on any non-file
       * inputs before escaping them with this escaper.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/xml/XmlEscapers.java

     * elements' text contents. When possible, avoid manual escaping by using templating systems and
     * high-level APIs that provide autoescaping. For example, consider <a
     * href="http://www.xom.nu/">XOM</a> or <a href="http://www.jdom.org/">JDOM</a>.
     *
     * <p><b>Note:</b> Currently the escapers provided by this class do not escape any characters
     * outside the ASCII character range. Unlike HTML escaping the XML escapers will not escape
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/html/HtmlEscapers.java

     * most elements' text contents. When possible, avoid manual escaping by using templating
     * systems and high-level APIs that provide autoescaping.
     * One Google-authored templating system available for external use is <a
     * href="https://developers.google.com/closure/templates/">Closure Templates</a>.
     *
     * <p>HTML escaping is particularly tricky: For example, <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

        if (uriStripped) {
          if (uri.toString() != component.urlString("")) {
            fail("Encoding $component $codePoint using $encoding")
          }
          return
        }
    
        // If the URI has more escaping than the HttpURL, check that the decoded values still match.
        val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1
        if (uriEscaped) {
          if (uri.toString() == httpUrl.toString()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertEquals(
            "0xFFFE is forbidden and should be replaced during escaping",
            "[\uFFFD]",
            xmlEscaper.escape("[\ufffe]"));
        assertEquals(
            "0xFFFF is forbidden and should be replaced during escaping",
            "[\uFFFD]",
            xmlEscaper.escape("[\uffff]"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, 'A', 'Z') {
              @Override
              protected char[] escapeUnsafe(char c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top