Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for slash (0.1 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. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                map.put("name", s);
                list.add(map);
            }));
            return list;
        }
    
        /**
         * Creates a path prefix with trailing slash if path is not empty.
         *
         * @param path the base path
         * @return path with trailing slash or empty string
         */
        protected static String getPathPrefix(final String path) {
            return StringUtil.isEmpty(path) ? StringUtil.EMPTY : path + "/";
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top