- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for slash (0.02 sec)
-
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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
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 } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testNormalizePath() throws Exception { // Test forward slash normalization assertEquals("\\share\\folder", validator.validatePath("/share/folder")); // Test duplicate slash removal assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder")); // Test trailing slash removal assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial004.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:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
// Test listing with marker > last object such that response should be empty (65) {"test-bucket-single-object", "", "A/C", "", 1000, resultCases[34], nil, true}, // Test listing an object with a trailing slash and a slash delimiter (66) {"test-bucket-list-object", "Asia-maps.png/", "", "/", 1000, resultCases[34], nil, true}, // Test listing an object with uncommon delimiter
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 76.1K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
{ []byte("10000;"), []byte("10000;"), nil, }, // Test - 3 no chunk size, return error. { []byte(";chunk-signature="), nil, nil, }, // Test - 4 removes trailing slash. { []byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648 \t \n"), []byte("10000"), []byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), },Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
String normalized = path.replace('/', '\\'); // Remove duplicate slashes normalized = normalized.replaceAll("\\\\+", "\\\\"); // Remove trailing slash unless it's the root if (normalized.length() > 1 && normalized.endsWith("\\")) { normalized = normalized.substring(0, normalized.length() - 1); } // Handle current directory references
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"../../abc", "../../abc"}, {"/abc", "/abc"}, {"/abc/def", "/abc/def"}, {"/", "/"}, // Remove trailing slash {"abc/", "abc"}, {"abc/def/", "abc/def"}, {"a/b/c/", "a/b/c"}, {"./", "."}, {"../", ".."}, {"../../", "../.."}, {"/abc/", "/abc"}, // Remove doubled slash {"abc//def//ghi", "abc/def/ghi"}, {"//abc", "/abc"}, {"///abc", "/abc"}, {"//abc//", "/abc"},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/iam-object-store.go
// parent directory retains the trailing slash. func splitPath(s string, secondIndex bool) (string, string) { var i int if secondIndex { i = findSecondIndex(s, "/") } else { i = strings.Index(s, "/") } if i == -1 { return s, "" } // Include the trailing slash in the parent directory. return s[:i+1], s[i+1:] }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26.6K bytes - Viewed (0)