- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for escaper (0.04 sec)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test quotes are escaped. assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); assertEquals("'test'", xmlAttributeEscaper.escape("'test'")); // Test all escapes assertEquals( "a"b<c>d&e"f'", xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); // Test '\t', '\n' and '\r' are escaped.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/html/HtmlEscapersTest.java
// Test simple escape of '&'. assertEquals("foo&bar", htmlEscaper().escape("foo&bar")); // If the string contains no escapes, it should return the arg. // Note: assert<b>Same</b> for this implementation. String s = "blah blah farhvergnugen"; assertSame(s, htmlEscaper().escape(s)); // Tests escapes at begin and end of string. assertEquals("<p>", htmlEscaper().escape("<p>"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return escape(s) + ".*"; } final StringBuilder buf = new StringBuilder(100); return appendFileterPath(buf, escape(s)); } /** * Escapes special regex characters in a string to create a literal pattern.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} /** * Escapes a callback name. * @param callbackName The callback name. * @return The escaped callback name. */ protected String escapeCallbackName(final String callbackName) { return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY); } /** * Escapes a JSON object. * @param obj The object to escape.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return StringUtil.EMPTY; } /** * Escapes HTML and applies highlighting to text. * Handles boundary position detection if enabled. * * @param text the text to process * @return the escaped and highlighted text */ protected String escapeHighlight(final String text) { final String escaped = LaFunctions.h(text); final String value;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* * This method handles the complete search workflow including parameter processing, * query execution, result formatting, and logging. It supports automatic retry * with escaped queries if the initial search fails. * * @param searchRequestParams The search request parameters * @param data The search render data to populate with resultsRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
return fessConfig.getRoleSearchGroupPrefix(); } } return null; } /** * Escapes special characters in an LDAP search filter to prevent LDAP injection attacks. * * <p>This method escapes the following characters as per RFC 4515: * <ul> * <li>\ (backslash) → \5c</li> * <li>* (asterisk) → \2a</li>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* Decodes a URL as a name using appropriate character encoding. * Handles encoding detection from parent URLs and configuration settings. * * @param url the URL to decode * @param escapePlus whether to escape plus signs before decoding * @return the decoded URL name, or original URL if decoding fails */ default String decodeUrlAsName(final String url, final boolean escapePlus) { if (url == null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 14.1K bytes - Viewed (0)