diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-02-09 10:52:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 10:52:58 +0100 |
commit | 29449a233885264eb30c3575d1571bd096230885 (patch) | |
tree | 6c16ec0e887483bc5597dedac1248503eaa1d5cd /sonar-plugin-api | |
parent | 867894b876c520c1342a60e36a2e421a2a291b71 (diff) | |
download | sonarqube-29449a233885264eb30c3575d1571bd096230885.tar.gz sonarqube-29449a233885264eb30c3575d1571bd096230885.zip |
SONAR-8470 Add favicon and apple touch icons (#1644)
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/web/ServletFilter.java | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/web/ServletFilterTest.java | 3 |
2 files changed, 3 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 7d8cbb5c46e..b4ed16602cc 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 @@ -122,7 +122,7 @@ public abstract class ServletFilter implements Filter { public static class Builder { private static final String WILDCARD_CHAR = "*"; private static final Collection<String> STATIC_RESOURCES = ImmutableList.of("/css/*", "/fonts/*", "/images/*", "/js/*", "/static/*", - "/robots.txt", "/favicon.ico", "/apple-touch-icon*"); + "/robots.txt", "/favicon.ico", "/apple-touch-icon*", "/mstile*"); private final Set<String> inclusions = new LinkedHashSet<>(); private final Set<String> exclusions = new LinkedHashSet<>(); diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/web/ServletFilterTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/web/ServletFilterTest.java index 72c2ba21e52..a78348c4f45 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/web/ServletFilterTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/web/ServletFilterTest.java @@ -224,7 +224,8 @@ public class ServletFilterTest { "/static/*", "/robots.txt", "/favicon.ico", - "/apple-touch-icon*"); + "/apple-touch-icon*", + "/mstile*"); } private static class FakeFilter extends ServletFilter { |