cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-7400] Add dots to SwaggerUIResourceFilter regex, patch from Cody Raethke applied, This closes #280
Date Tue, 13 Jun 2017 16:04:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/master d9a4a0bac -> e16d3a57a


[CXF-7400] Add dots to SwaggerUIResourceFilter regex, patch from Cody Raethke applied, This
closes #280


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e16d3a57
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e16d3a57
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e16d3a57

Branch: refs/heads/master
Commit: e16d3a57a36674ad7e4eb4a98d629ec9a7264201
Parents: d9a4a0b
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Jun 13 17:03:52 2017 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Jun 13 17:03:52 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e16d3a57/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
----------------------------------------------------------------------
diff --git a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
index 36dfd3d..8dceb29 100644
--- a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
+++ b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
@@ -472,7 +472,7 @@ public class Swagger2Feature extends AbstractSwaggerFeature {
     protected static class SwaggerUIResourceFilter implements ContainerRequestFilter {
         private static final Pattern PATTERN =
             Pattern.compile(
-                  ".*js|.*gz|.*map|oauth2*[.]html|.*png|.*css|.*ico|"
+                  ".*[.]js|.*[.]gz|.*[.]map|oauth2*[.]html|.*[.]png|.*[.]css|.*[.]ico|"
                   + "/css/.*|/images/.*|/lib/.*|/fonts/.*"
             );
 


Mime
View raw message