- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for encodeJsp (0.99 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
@Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { final String jspType = "view"; final File jspFile = getJspFile(form.fileName, jspType); try { form.content = encodeJsp(new String(FileUtil.readBytes(jspFile), Constants.UTF_8)); } catch (final UnsupportedEncodingException e) { throw new FessSystemException("Invalid encoding: fileName=" + form.fileName, e); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 20.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
} @Test public void test_encodeJsp() { assertEquals("<!--TRY-->", AdminDesignAction.encodeJsp("<% try{ %>")); assertEquals("<!--CACHE_AND_SESSION_INVALIDATE-->", AdminDesignAction.encodeJsp("<% }catch(Exception e){session.invalidate();} %>")); } // ===================================================================================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) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
} return (T) Boolean.valueOf(value.toString()); } return null; } /** * Encodes a URL by encoding non-URL-safe characters. * Uses the request's character encoding if available, otherwise defaults to UTF-8. * Only encodes characters that are not considered URL-safe according to CharUtil. * * @param url the URL to encodeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
if (!isTarget(path)) { return null; } return newDictionaryFile(encodePath(path), path, timestamp); } /** * Encodes a file path using Base64 URL-safe encoding. * * @param path the file path to encode * @return the Base64 encoded path */ protected String encodePath(final String path) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} query = buf.toString(); request.setAttribute(key, query); } return query; }).orElse(null); } /** * Encodes a string to URL-safe Base64 format. * * @param value the string to encode * @return Base64 encoded string, or empty string if value is null */ public static String base64(final String value) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
final String[] values = name.split("/"); if (values.length == 0) { return StringUtil.EMPTY; } return values[values.length - 1]; } /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) {
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) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
} }); return sessionIdList; }); } /** * Generates a hashed ID from the provided URL ID string. * Encodes special characters using URL encoding or Base64 encoding as needed, * then applies a message digest algorithm to create a unique hash. * * @param urlId the URL ID string to generate a hash forCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
logger.debug("Failed to decode similar document hash: hash={}", hash, e); } } } return hash; } /** * Encodes a similar document hash using GZIP compression and Base64 encoding. * This reduces storage space for hash values while maintaining uniqueness. * * @param hash the hash string to encode
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, errorHook); } } /** * Encodes permission strings into an array. * * @param permissionsText the permissions text (newline-separated) * @return encoded permission array */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
final String[] values = name.split("/"); if (values.length == 0) { return StringUtil.EMPTY; } return values[values.length - 1]; } /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ private String encodeId(final String objectName) {
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)