You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2020/01/09 15:06:40 UTC
[myfaces-tobago] branch tobago-2.x updated: TOBAGO-2016 - Tobago2:
allow svg resources
This is an automated email from the ASF dual-hosted git repository.
weber pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-2.x by this push:
new 13a3011 TOBAGO-2016 - Tobago2: allow svg resources
13a3011 is described below
commit 13a3011b92a0b8c26c20ca453b9fdf7cadf607ce
Author: Volker Weber <v....@inexso.de>
AuthorDate: Thu Jan 9 16:06:29 2020 +0100
TOBAGO-2016 - Tobago2: allow svg resources
---
.../org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java
index 279c509..252c806 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java
@@ -56,7 +56,7 @@ public class ResourceManagerImpl implements ResourceManager {
public static final String[] EXT_PNG = new String[]{".png"};
public static final String[] EXT_JPG = new String[]{".jpg"};
public static final String[] EXT_ICO = new String[]{".ico"};
- public static final String[] EXT_IMAGES = new String[]{".png", ".gif", ".jpg"};
+ public static final String[] EXT_IMAGES = new String[]{".svg", ".png", ".gif", ".jpg"};
public static final String[] EXT_JSP= new String[]{".jsp"};
public static final String[] EXT_JSPX= new String[]{".jspx"};
public static final String[] EXT_XHTML= new String[]{".xhtml"};