cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7400) Swagger2Feature causes 404 on URIs ending with *ico
Date Tue, 13 Jun 2017 16:05:00 GMT

    [ https://issues.apache.org/jira/browse/CXF-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048064#comment-16048064
] 

ASF GitHub Bot commented on CXF-7400:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cxf/pull/280


> Swagger2Feature causes 404 on URIs ending with *ico
> ---------------------------------------------------
>
>                 Key: CXF-7400
>                 URL: https://issues.apache.org/jira/browse/CXF-7400
>             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
(v6.4.14#64029)

Mime
View raw message