cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Raethke (JIRA)" <>
Subject [jira] [Created] (CXF-7400) Swagger2Feature causes 404 on URIs ending with *ico
Date Wed, 07 Jun 2017 21:27:18 GMT
Cody Raethke created CXF-7400:

             Summary: Swagger2Feature causes 404 on URIs ending with *ico
                 Key: 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

This message was sent by Atlassian JIRA

View raw message