- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for sanitizer (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
if (logger.isDebugEnabled()) { logger.debug("MarkdownRenderer initialized with commonmark and OWASP sanitizer"); } } /** * Renders markdown text to sanitized HTML. * * @param markdown the markdown text to render * @return sanitized HTML string */ public String render(final String markdown) { if (markdown == null || markdown.isEmpty()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
pom.xml
<artifactId>commonmark-ext-gfm-tables</artifactId> <version>0.24.0</version> </dependency> <dependency> <groupId>com.googlecode.owasp-java-html-sanitizer</groupId> <artifactId>owasp-java-html-sanitizer</artifactId> <version>20260101.1</version> </dependency> <!-- test --> <dependency> <groupId>org.junit.jupiter</groupId>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 49.9K bytes - Click Count (0) -
src/main/webapp/js/chat.js
*/ function scrollToBottom() { elements.chatMessages.scrollTop(elements.chatMessages[0].scrollHeight); } /** * Render Markdown text to sanitized HTML. * Policy is aligned with server-side MarkdownRenderer (OWASP sanitizer). */ var markdownDomPurifyInitialized = false; var markdownSanitizeConfig = { ALLOWED_TAGS: ['h1','h2','h3','h4','h5','h6',Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* * Fundamentally, there's not really anything we can do about that. In the unlikely event that it * comes up in practice (maybe through some kind of sanitizer-like testing that intentionally * inflicts spurious interrupts on us?), we might have to accept some flakiness or disable some * tests, at least under whichever environment (JRE or Android) we see such problems. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* * Fundamentally, there's not really anything we can do about that. In the unlikely event that it * comes up in practice (maybe through some kind of sanitizer-like testing that intentionally * inflicts spurious interrupts on us?), we might have to accept some flakiness or disable some * tests, at least under whichever environment (JRE or Android) we see such problems. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/main/webapp/js/admin/bootstrap.min.js.map
regExp.length; i < len; i++) {\n if (regExp[i].test(attrName)) {\n return true\n }\n }\n\n return false\n}\n\nexport function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) {\n if (unsafeHtml.length === 0) {\n return unsafeHtml\n }\n\n if (sanitizeFn && typeof sanitizeFn === 'function') {\n return sanitizeFn(unsafeHtml)\n }\n\n const domParser = new window.DOMParser()\n const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html')\n const whitelistKeys = Object.keys(whiteList)\n...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:49:09 GMT 2024 - 180.9K bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js.map
e.js'\nimport Config from './config.js'\nimport { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'\nimport { execute, getElement, isElement } from './index.js'\n\n/**\n * Constants\n */\n\nconst NAME = 'TemplateFactory'\n\nconst Default = {\n allowList: DefaultAllowlist,\n content: {}, // { selector : text , selector2 : text2 , }\n extraClass: '',\n html: false,\n sanitize: true,\n sanitizeFn: null,\n template: '<div></div>'\n}\n\nconst DefaultType = {\n allowList: 'object',\n content:...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 211.9K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
} // Remove control characters and limit length String sanitized = input.replaceAll("[\\x00-\\x1f]", ""); if (sanitized.length() > 1000) { sanitized = sanitized.substring(0, 997) + "..."; } return sanitized; } /** * Validates that a value is within the specified range * * @param value the value to check * @param min minimum value (inclusive)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java
String sanitized1 = AdminLogAction.sanitizeFilename("../../../var/log/auth.log"); assertEquals("/var/log/auth.log", sanitized1); assertTrue(AdminLogAction.isLogFilename(sanitized1)); String sanitized2 = AdminLogAction.sanitizeFilename("....//....//var/log/syslog.log"); assertEquals("/var/log/syslog.log", sanitized2);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) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0)