cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CXF-7400) Swagger2Feature causes 404 on URIs ending with *ico
Date Wed, 07 Jun 2017 22:16:18 GMT


ASF GitHub Bot commented on CXF-7400:

GitHub user craethke opened a pull request:

    [CXF-7400] Add dots to SwaggerUIResourceFilter regex


You can merge this pull request into a Git repository by running:

    $ git pull CXF-7400-swagger2feature-404

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #280
commit 1221c5ac772a2813c9a038207b65e8f1162eed1c
Author: craethke <>
Date:   2017-06-07T22:13:13Z

    [CXF-7400] Add dots to SwaggerUIResourceFilter regex


> Swagger2Feature causes 404 on URIs ending with *ico
> ---------------------------------------------------
>                 Key: CXF-7400
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.11
>            Reporter: Cody Raethke
>            Priority: Minor
> When using the Swagger2Feature with Swagger UI, requests to paths ending in "ico" (such
as /magnifico) are routed to Swagger UI, which causes a 404.
> The below regex in SwaggerUIResourceFilter needs to include a dot [.] before the ico
extension so only files with that extension are routed to SwaggerUI
> {code}
> .*[.]js|/css/.*|/images/.*|/lib/.*|.*ico|/fonts/.*
> {code}

This message was sent by Atlassian JIRA

View raw message