You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/06/13 16:07:00 UTC
[jira] [Resolved] (CXF-7400) Swagger2Feature causes 404 on URIs
ending with *ico
[ https://issues.apache.org/jira/browse/CXF-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-7400.
-----------------------------------
Resolution: Fixed
Assignee: Sergey Beryozkin
Fix Version/s: 3.1.12
3.2.0
> 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
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 3.2.0, 3.1.12
>
>
> 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)