- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for isFileSystemPath (0.32 seconds)
-
src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java
assertFalse(goAction.isFileSystemPath("ldap://server/path")); assertFalse(goAction.isFileSystemPath("ssh://server/path")); assertFalse(goAction.isFileSystemPath("data:text/plain;base64,SGVsbG8=")); } @Test public void test_isFileSystemPath_empty_and_invalid() { assertFalse(goAction.isFileSystemPath(""));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 8.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
* * @param url the URL to check * @return true if the URL is a file system path, false otherwise */ protected boolean isFileSystemPath(final String url) { return ComponentUtil.getProtocolHelper().isFileSystemPath(url); } /** * Validates if the URL is safe for redirection. * * @param url the URL to validateCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
assertTrue(protocolHelper.isFileSystemPath("smb://server/share")); assertTrue(protocolHelper.isFileSystemPath("smb1://server/share")); assertTrue(protocolHelper.isFileSystemPath("ftp://ftp.example.com/file")); assertTrue(protocolHelper.isFileSystemPath("storage://container/blob")); assertTrue(protocolHelper.isFileSystemPath("s3://bucket/path")); assertTrue(protocolHelper.isFileSystemPath("gcs://bucket/path")); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 35.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
* * @param url the URL to check * @return true if the URL is a file system path (file, smb, smb1, ftp, storage, s3, gcs) */ public boolean isFileSystemPath(final String url) { return url.startsWith("file:") || url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:")Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1)