Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,093 for Html (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_swagger_ui_escape.py

        html = get_swagger_ui_html(
            openapi_url="/openapi.json",
            title="Test",
            init_oauth={"appName": xss_payload},
        )
        body = html.body.decode()
    
        assert "</script><script>" not in body
        assert "\\u003c/script\\u003e\\u003cscript\\u003e" in body
    
    
    def test_swagger_ui_parameters_html_chars_are_escaped():
        html = get_swagger_ui_html(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            final FessConfig fessConfig = createFessConfigWithResponseHeaders("*=X-Def:def\ntext/html=X-Html:htmlval");
            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("text/html", (k, v) -> headerMap.put(k, v));
            assertEquals(2, headerMap.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    現在你可以為自訂文件建立「路徑操作(path operation)」。
    
    你可以重用 FastAPI 的內部函式來建立文件的 HTML 頁面,並傳入所需參數:
    
    * `openapi_url`:文件 HTML 頁面用來取得你 API 的 OpenAPI schema 的 URL。可使用屬性 `app.openapi_url`。
    * `title`:你的 API 標題。
    * `oauth2_redirect_url`:可使用 `app.swagger_ui_oauth2_redirect_url` 以沿用預設值。
    * `swagger_js_url`:Swagger UI 文件 HTML 用來取得「JavaScript」檔案的 URL。這是你的自訂 CDN 位址。
    * `swagger_css_url`:Swagger UI 文件 HTML 用來取得「CSS」檔案的 URL。這是你的自訂 CDN 位址。
    
    ReDoc 也類似...
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        /**
         * Generates an HTML opening or closing tag with appropriate language attribute.
         *
         * @param isOpen true to generate opening HTML tag, false for closing tag
         * @return HTML opening tag with language attribute or closing tag
         */
        public static String html(final boolean isOpen) {
            if (isOpen) {
                return "<html lang=\"" + LaRequestUtil.getOptionalRequest().map(req -> {
    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)
  5. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        //                                                                      ==============
        /**
         * Displays the main failure URL management page.
         *
         * @return HTML response for the failure URL list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

         */
        public VirtualHostHelper() {
            // Default constructor
        }
    
        /**
         * Gets the virtual host path for the specified HTML page.
         *
         * @param page The HTML page to get the virtual host path for
         * @return The HTML page with updated virtual host path
         */
        public HtmlNext getVirtualHostPath(final HtmlNext page) {
            return processVirtualHost(s -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        /**
         * Displays the main path mapping administration page.
         *
         * @param form the search form containing search criteria
         * @return HTML response for the path mapping list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        /**
         * Show the index page.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        //                                                                      ==============
        /**
         * Displays the related query management index page.
         *
         * @return HTML response for the related query list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        /**
         * Displays the main synonym dictionary index page.
         *
         * @param form the search form containing search criteria
         * @return HTML response for the synonym dictionary index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
Back to Top