Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 192 for outside (0.05 seconds)

  1. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final FessAdminAction action = createAction();
            System.setProperty("fess.var.path", varDir.toString());
            final File outsideFile = new File(tempDir.toFile(), "outside/test.txt");
    
            assertThrows(IllegalArgumentException.class, () -> action.validateFilePath(outsideFile.getAbsolutePath()));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            // Test file outside base directory
            File baseDir = new File(tempDir.toFile(), "images");
            baseDir.mkdirs();
            File outsideFile = new File(tempDir.toFile(), "css/style.css");
    
            Boolean result = invokeIsValidUploadPath(outsideFile, baseDir);
            assertFalse("File outside base directory should be blocked", result);
        }
    
        @Test
    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)
  3. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        public void setOtherProperty(String s) ...
    
        // NOTE: No direct implementation of getSomeProperty
    }
    ```
    
    This is acceptable when the implementation type is public and/or has been extended by something outside gradle/gradle:
    
    ```groovy
    public interface ExistingThing {
        String getOtherProperty()
        void setOtherProperty(String s)
    
        Property<String> getSomeProperty()
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test isPathSafe with path outside base directory
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathOutsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path outsidePath = Paths.get("/tmp/outside.txt");
    
            assertFalse("Path outside base should be blocked", FileUtil.isPathSafe(outsidePath, baseDir));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/orig/view/chat/chat.jsp

    							<div class="filter-dropdowns">
    								<c:if test="${displayLabelTypeItems}">
    								<div class="dropdown">
    									<button type="button" class="filter-group-toggle btn btn-outline-secondary btn-sm dropdown-toggle" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
    										<i class="fa fa-tag me-1" aria-hidden="true"></i><la:message key="labels.facet_label_title" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/chat/chat.jsp

    							<div class="filter-dropdowns">
    								<c:if test="${displayLabelTypeItems}">
    								<div class="dropdown">
    									<button type="button" class="filter-group-toggle btn btn-outline-secondary btn-sm dropdown-toggle" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
    										<i class="fa fa-tag me-1" aria-hidden="true"></i><la:message key="labels.facet_label_title" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            assertTrue(rule.isTarget(10, 0, 1)); // 10:00 on Sunday (start time)
            assertTrue(rule.isTarget(18, 0, 1)); // 18:00 on Sunday (end time)
    
            // Outside range
            assertFalse(rule.isTarget(9, 59, 1)); // 9:59 on Sunday
            assertFalse(rule.isTarget(18, 1, 1)); // 18:01 on Sunday
        }
    
        @Test
        public void test_intervalRule_isTarget_crossMidnight() {
    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. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

        //                                                         =========================
    
        @Test
        public void test_security_pathTraversalWithLogExtension() {
            // These patterns attempt to access files outside the log directory
            // but must end with .log to pass isLogFilename check
    
            String sanitized1 = AdminLogAction.sanitizeFilename("../../../var/log/auth.log");
            assertEquals("/var/log/auth.log", sanitized1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                // Should write structure size of 4
                assertEquals(4, SMBUtil.readInt2(buffer, startIndex));
            }
    
            @Test
            @DisplayName("Should not modify bytes outside written range")
            void testWriteBytesDoesNotOverflow() {
                byte[] buffer = new byte[100];
                // Fill buffer with known values
                for (int i = 0; i < buffer.length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                if (test.teardown != null) {
                    teardown(test)
                }
            }
    
            private void setup(final Snippet snippet) {
                // insert a setup defined outside of the docs
                for (final String name : snippet.setup.split(',')) {
                    final String setup = setups[name]
                    if (setup == null) {
                        throw new InvalidUserDataException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
Back to Top