diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2018-03-07 17:47:48 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-26 20:20:57 +0200 |
commit | 9ac78350022bfadca4845a42cb600dfa762fb66b (patch) | |
tree | 1fb5e6366cb0e439be7c12ac9d8dbdbaf0c8b637 /sonar-plugin-api | |
parent | cb0a23c978efcc296cf29837c9e6e1a657403404 (diff) | |
download | sonarqube-9ac78350022bfadca4845a42cb600dfa762fb66b.tar.gz sonarqube-9ac78350022bfadca4845a42cb600dfa762fb66b.zip |
VSTS-142 Handle authentication to display private project in VSTS widgets
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java b/sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java index 5da7fdb1c12..5fd7540ac1d 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java @@ -140,8 +140,10 @@ public abstract class ServletFilter implements Filter { */ public static class Builder { private static final String WILDCARD_CHAR = "*"; - private static final Collection<String> STATIC_RESOURCES = unmodifiableList(asList("*.css", "*.css.map", "*.ico", "*.png", "*.gif", "*.svg", "*.js", "*.js.map", "*.eot", "*.ttf", "*.woff", "/static/*", - "/robots.txt", "/favicon.ico", "/apple-touch-icon*", "/mstile*")); + private static final Collection<String> STATIC_RESOURCES = unmodifiableList(asList( + "*.css", "*.css.map", "*.ico", "*.png", "*.gif", "*.svg", "*.js", "*.js.map", "*.eot", "*.ttf", "*.woff", + "/static/*", "/robots.txt","/favicon.ico", "/apple-touch-icon*", "/mstile*" + )); private final Set<String> inclusions = new LinkedHashSet<>(); private final Set<String> exclusions = new LinkedHashSet<>(); |