Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for unescaping (0.04 seconds)

  1. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * called by the {@link #escape(String)} method when it discovers that escaping is required. It is
       * protected to allow subclasses to override the fastpath escaping function to inline their
       * escaping test. See {@link CharEscaperBuilder} for an example usage.
       *
       * <p>This method is not reentrant and may only be invoked by the top level {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. cmd/signature-v2.go

    		return cred, ErrSignatureDoesNotMatch
    	}
    	return cred, ErrNone
    }
    
    // Escape encodedQuery string into unescaped list of query params, returns error
    // if any while unescaping the values.
    func unescapeQueries(encodedQuery string) (unescapedQueries []string, err error) {
    	for query := range strings.SplitSeq(encodedQuery, "&") {
    		var unescapedQuery string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. internal/config/identity/ldap/ldap.go

    func (l Config) QuickNormalizeDN(dn string) string {
    	if normDN, err := xldap.NormalizeDN(dn); err == nil {
    		return normDN
    	}
    	return dn
    }
    
    // DecodeDN - denormalizes the given DN by unescaping any escaped characters.
    // Returns input if error
    func (l Config) DecodeDN(dn string) string {
    	if decodedDN, err := xldap.DecodeDN(dn); err == nil {
    		return decodedDN
    	}
    	return dn
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  4. cmd/utils.go

    	}
    	return trimLeadingSlash(ep), nil
    }
    
    // unescapePath is similar to unescapeGeneric but for specifically
    // path unescaping.
    func unescapePath(p string) (string, error) {
    	return unescapeGeneric(p, url.PathUnescape)
    }
    
    // similar to unescapeGeneric but never returns any error if the unescaping
    // fails, returns the input as is in such occasion, not meant to be
    // used where strict validation is expected.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  5. cmd/object-multipart-handlers.go

    	cpSrcPath := r.Header.Get(xhttp.AmzCopySource)
    	var vid string
    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    	// If source object is empty or bucket is empty, reply back invalid copy source.
    	if srcObject == "" || srcBucket == "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
         * @return the escaped query string, or the original value if escaping is disabled
         */
        protected String escapeQuery(final String value) {
            if (!escape) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testEscapeWildcardQuery() {
            // Test escaping asterisk
            String query1 = "test*query";
            String escaped1 = SuggestUtil.escapeWildcardQuery(query1);
            assertEquals("test\\*query", escaped1);
    
            // Test escaping question mark
            String query2 = "test?query";
            String escaped2 = SuggestUtil.escapeWildcardQuery(query2);
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. README.md

        System.out.println("Processing: " + resource);
    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    # No special handling for IPv4 or IPv4-like URLs
    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    # Something that isn't exactly an IP should get treated as a host and
    # spaces escaped.
    http://192.168.0.1\shello
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/BaseEncoding.java

     * <td>A-Z a-z 0-9 + /
     * <td>1.33
     * <td>=
     * <td>
     * <tr>
     * <td>{@link #base64Url()}
     * <td>A-Z a-z 0-9 - _
     * <td>1.33
     * <td>=
     * <td>Safe to use as filenames, or to pass in URLs without escaping
     * </table>
     *
     * <p>All instances of this class are immutable, so they may be stored safely as static constants.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Oct 06 14:51:47 GMT 2025
    - 41.7K bytes
    - Click Count (0)
Back to Top