Cody Raethke created CXF-7400: --------------------------------- Summary: 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.3.15#6346)