- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for encodeJsp (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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/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) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
* Default constructor for PermissionHelper. * Initializes the permission helper with default configuration. */ public PermissionHelper() { // Default constructor } /** * Encodes a permission string into a search role format. * Processes user, group, and role prefixes along with allow/deny prefixes. * * @param value the permission string to encodeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
* @return the full object name */ public static String getObjectName(final String path, final String name) { return getPathPrefix(path) + name; } /** * Encodes an object name to a URL-safe base64 string. * * @param objectName the object name to encode * @return base64 encoded string */ protected static String encodeId(final String objectName) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
} /** * Stores current search parameters in a browser cookie for later retrieval. * * This method serializes the current request parameters, compresses them using GZIP, * encodes them with Base64, and stores them in a secure HTTP cookie. */ public void storeSearchParameters() { LaRequestUtil.getOptionalRequest().ifPresent(req -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final String userDir = System.getProperty("user.dir"); final File targetDir = new File(userDir, "target"); return new File(targetDir, "logs").getAbsolutePath(); } /** * Encodes a URL path for filtering. * * @param path The path to encode. * @return The encoded path. */ public String encodeUrlFilter(final String path) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
if (StringUtil.isNotBlank(suffix)) { buf.append(",-").append(encodeToString(suffix)); } return buf.toString(); } /** * URL-encodes text for use in text fragment parameters. * * @param text the text to encode * @return the URL-encoded text */ private String encodeToString(final String text) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0)