Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 18 of 18 for sanitizer (0.04 seconds)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            // Test that custom sessionId is sanitized
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session-123";
    
            // Simulate what process() does - sanitize sessionId
            if (options.sessionId != null) {
                options.sessionId = options.sessionId.replaceAll("-", "_");
            }
    
            // Check that sessionId was sanitized (hyphens replaced with underscores)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                    }
                    if (sanitized.length() > 0) {
                        sanitized.append('/');
                    }
                    sanitized.append(component);
                }
    
                final Path resolved = Paths.get(exportPath, sanitized.toString()).normalize();
                final Path baseDir = Paths.get(exportPath).normalize();
    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)
  3. src/main/webapp/js/admin/bootstrap.min.js

    if(i[o].test(n))return!0;return!1})(t,r)||i.removeAttribute(t.nodeName)}))},l=0,r=a.length;l<r;l++)s(l);return i.body.innerHTML}var It="tooltip",kt="bs.tooltip",Ot=o.default.fn.tooltip,jt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Pt=["sanitize","whiteList","sanitizeFn"],Lt="fade",Rt="show",xt="show",qt="out",Ft="hover",Qt="focus",Bt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ht={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="t...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 61.1K bytes
    - Click Count (0)
  4. src/main/webapp/js/purify.min.js

    e=e.toString()))throw S("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Fe||Tt(t),o.removed=[],"string"==typeof e&&(qe=!1),qe){if(e.nodeName){const t=ft(e.nodeName);if(!Ne[t]||Oe[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof D)n=bt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===J&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Be&&!Ue&&!Pe&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                return text;
            }
            return text.replaceAll("<[^>]+>", "");
        }
    
        /**
         * Sanitizes document content by escaping delimiter-like sequences
         * to prevent boundary spoofing in LLM prompts.
         *
         * @param text the text to sanitize
         * @return the sanitized text with delimiter sequences escaped
         */
        protected String sanitizeDocumentContent(final String text) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatClient.java

                }
                sb.append(c);
            }
            return sb.toString();
        }
    
        /**
         * Renders markdown text to sanitized HTML.
         *
         * @param markdown the markdown text
         * @return sanitized HTML
         */
        protected String renderMarkdownToHtml(final String markdown) {
            if (markdownRenderer == null || !markdownRenderer.isInitialized()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  7. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    er",validatorFunction:function(a,b,c){if(""!==a){var d,e,f=b.valAttr("allowing")||"",g=b.valAttr("decimal-separator")||c.decimalSeparator,h=!1,i=b.valAttr("step")||"",j=!1,k=b.attr("data-sanitize")||"",l=k.match(/(^|[\s])numberFormat([\s]|$)/i);if(l){if(!window.numeral)throw new ReferenceError("The data-sanitize value numberFormat cannot be used without the numeral library. Please see Data Validation in http://www.formvalidator.net for more information.");a.length&&(a=String(numeral().unformat(a...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 32.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(result.toString().endsWith(".html"));
        }
    
        @Test
        public void test_buildFilePath_colonInFilename() {
            // Colon is valid in URI path but should be sanitized in filesystem path
            final Path result =
                    indexExportJob.buildFilePath("/export", "https://example.com/path/file%3Aname.html", new HtmlIndexExportFormatter());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
Back to Top