- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 103 for unescaped (0.05 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Test that MIME type patterns work correctly as regex // This verifies the fix for SVG thumbnail generation issue // where image/svg+xml was not matching due to unescaped + character // SVG MIME type - the + must be escaped in regex String svgMimetype = "image/svg+xml"; String svgPatternWrong = "image/svg+xml"; // Wrong: + means "one or more" in regexCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
import org.jspecify.annotations.Nullable; /** * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on * construction. * * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be usedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
destIndex += charsSkipped; } if (escaped.length > 0) { System.arraycopy(escaped, 0, dest, destIndex, escaped.length); destIndex += escaped.length; } // If we dealt with an escaped character, reset the unescaped range. unescapedChunkStart = nextIndex; } index = nextEscapeIndex(s, nextIndex, end); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass } // All URL escapers should leave 0-9, A-Z, a-z unescaped assertUnescaped(e, 'a'); assertUnescaped(e, 'z'); assertUnescaped(e, 'A'); assertUnescaped(e, 'Z'); assertUnescaped(e, '0'); assertUnescaped(e, '9');Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Create proper escaped pattern String escapedPattern = mimeType.replace("+", "\\+"); // Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT matchCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>) * Additionally, the escaper escapes the slash character ("/"). While slashes are acceptable in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
UnicodeEscaper surrogateEscaper = new ArrayBasedUnicodeEscaper(NO_REPLACEMENTS, 0, 0x20000, null) { private final char[] escaped = new char[] {'X'}; @Override protected char[] escapeUnsafe(int c) { return escaped; } }; EscaperAsserts.assertBasic(surrogateEscaper); // A surrogate pair defining a code point within the safe range.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix /** * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a * double-quoted string. */ @Throws(EOFException::class) private fun Buffer.readQuotedString(): String? { require(readByte() == '\"'.code.toByte())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java
try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass } // All URL escapers should leave 0-9, A-Z, a-z unescaped assertUnescaped(e, 'a'); assertUnescaped(e, 'z'); assertUnescaped(e, 'A'); assertUnescaped(e, 'Z'); assertUnescaped(e, '0'); assertUnescaped(e, '9');Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
assertThat(spaceEscaper.escape("string with spaces")).isEqualTo("string with spaces"); } /** Tests that if we add extra 'safe' characters they remain unescaped */ public void testCustomEscaper() { UnicodeEscaper e = new PercentEscaper("+*/-", false); for (char c = 0; c < 128; c++) { if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z')
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0)