Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing SVG contentType in ContentTypeResolver #216

Open
M3lkior opened this issue Feb 17, 2015 · 7 comments
Open

Missing SVG contentType in ContentTypeResolver #216

M3lkior opened this issue Feb 17, 2015 · 7 comments
Assignees
Milestone

Comments

@M3lkior
Copy link

M3lkior commented Feb 17, 2015

defaultContentTypeMap in ContentTypeResolver doesn't contain svg type.

Could you add it in next release ?

here is the correct content type to put in map :

defaultContentTypeMap.put("svg", "image/svg+xml");

thanks :)

@alexo alexo added this to the 1.7.8 milestone Feb 19, 2015
@alexo alexo self-assigned this Feb 19, 2015
@alexo
Copy link
Owner

alexo commented Feb 19, 2015

Thanks for reporting this issue.

@alexo
Copy link
Owner

alexo commented Feb 20, 2015

Fixed in branch 1.7.x

@alexo alexo closed this as completed Feb 20, 2015
@M3lkior
Copy link
Author

M3lkior commented Mar 30, 2015

You can also add :

// font-type
        defaultContentTypeMap.put("ttf", "application/x-font-ttf");
        defaultContentTypeMap.put("woff", "application/font-woff");
        defaultContentTypeMap.put("woff2", "application/font-woff2");

@alexo
Copy link
Owner

alexo commented Mar 30, 2015

I'll update the implementation. Reopening the issue.
Thanks for pointing this out.

@alexo alexo reopened this Mar 30, 2015
@alexo
Copy link
Owner

alexo commented Mar 30, 2015

Btw, the project is moving to a new location: http://github.com/wro4j/wro4j
This is where the issues from google code are already migrated. The documentation will be migrated later as well....

@M3lkior
Copy link
Author

M3lkior commented Mar 30, 2015

I had not seen. you should highlight this moving :)
Too bad, wro4j will lose its stars :/

@alexo
Copy link
Owner

alexo commented Mar 30, 2015

Indeed, there is no way to preserve them. I've decided to move the project, since google code is closing and all the issues were located there. Also consolidating issues, documentation and code in a single location is a good idea on the long run..


Sent from Mailbox

On Mon, Mar 30, 2015 at 3:10 PM, Ludovic Dussart [email protected]
wrote:

I had not seen. you should highlight this moving :)

Too bad, wro4j will lose its stars :/

Reply to this email directly or view it on GitHub:
#216 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants