Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for slash (0.03 seconds)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handlerWithSlash = new TestCorsHandler("handler-with-slash");
            TestCorsHandler handlerWithoutSlash = new TestCorsHandler("handler-without-slash");
    
            // Execute
            corsHandlerFactory.add(originWithSlash, handlerWithSlash);
            corsHandlerFactory.add(originWithoutSlash, handlerWithoutSlash);
    
            // Verify - trailing slash matters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  2. src/archive/tar/strconv.go

    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

        public void test_buildDefaultUrl_withTrailingSlash() throws Exception {
            // Test that trailing slash is handled correctly
            SamlAuthenticator authenticator = new SamlAuthenticator();
    
            DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            try {
                // Set custom base URL with trailing slash
                systemProperties.setProperty("saml.sp.base.url", "https://fess.example.com/");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial004_py310.py hl[6] *}
    
    /// tip
    
    You might need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`).
    
    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI**, by using short, intuitive and standard Python type declarations, you get:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    Fixer tool expects comments that follow specific pattern:
    
    - For hash-style comments: comment starts with `# ` (hash following by whitespace) in the beginning of the string or after a whitespace.
    - For slash-style comments: comment starts with `// ` (two slashes following by whitespace) in the beginning of the string or after a whitespace.
    
    If comment doesn't follow this pattern, fixer tool will not preserve it.
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

          apply {
            push(pathSegment, 0, pathSegment.length, addTrailingSlash = false, alreadyEncoded = false)
          }
    
        /**
         * Adds a set of path segments separated by a slash (either `\` or `/`). If `pathSegments`
         * starts with a slash, the resulting URL will have empty path segment.
         */
        fun addPathSegments(pathSegments: String): Builder = addPathSegments(pathSegments, false)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

                    Tuple3<String, String, String>[] result = new Tuple3[paths.length];
                    for (int i = 0; i < paths.length; i++) {
                        // Remove leading slash for the tuple value
                        String path = paths[i].startsWith("/") ? paths[i].substring(1) : paths[i];
                        result[i] = new Tuple3<>("Host", "host" + i + ".example.com", path);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. scripts/doc_parsing_utils.py

                if line_b_comment:
                    res_line = res_line.replace(line_b_comment, line_a_comment, 1)
                code_block.append(res_line)
            elif block_language in {"console", "json", "slash-style-comments"}:
                _line_a_code, line_a_comment = _split_slashes_comment(line_a)
                _line_b_code, line_b_comment = _split_slashes_comment(line_b)
                res_line = line_b
                if line_b_comment:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            @Override
            public String getRealPath(String path) {
                if (path == null) {
                    return tempDir.getAbsolutePath();
                }
                // Remove leading slash if present
                if (path.startsWith("/")) {
                    path = path.substring(1);
                }
                return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath();
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  10. src/archive/zip/reader.go

    	if xdir != ydir {
    		return strings.Compare(xdir, ydir)
    	}
    	return strings.Compare(xelem, yelem)
    }
    
    // Open opens the named file in the ZIP archive,
    // using the semantics of fs.FS.Open:
    // paths are always slash separated, with no
    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
Back to Top