Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIsPathSafe_SafePath (0.33 sec)

  1. src/test/java/org/codelibs/core/io/FileUtilTest.java

            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        /**
         * Test isPathSafe with safe path
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_SafePath() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path safePath = baseDir.resolve("subdir/file.txt");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top