Skip to content

Conversation

@oparoz
Copy link
Contributor

@oparoz oparoz commented Sep 18, 2015

Fix for #347

  1. Always send text/plain for SVG at the download points
  2. Only allow the SVG media type for the preview endpoint in the API if explicitly asked for. All the other preview endpoints will continue to serve image/svg+xml since a preview for a SVG is only asked for if NativeSVG was enabled in the config
  3. Only serve files of the media types we support

@LukasReschke

@oparoz oparoz added this to the 8.2-current milestone Sep 18, 2015
@oparoz oparoz self-assigned this Sep 18, 2015
@oparoz oparoz force-pushed the secure-mimetypes branch 3 times, most recently from 69e2aad to 21df789 Compare September 20, 2015 17:48
@oparoz
Copy link
Contributor Author

oparoz commented Sep 24, 2015

Ping @LukasReschke

@LukasReschke
Copy link
Member

Pong. Let me look at this today 😄

@oparoz
Copy link
Contributor Author

oparoz commented Sep 24, 2015

Thanks! I've rebased the other one, so you can have a look as well :) #308

@LukasReschke
Copy link
Member

👍 - THX!

LukasReschke added a commit that referenced this pull request Sep 24, 2015
@LukasReschke LukasReschke merged commit 6e9f11c into master Sep 24, 2015
@LukasReschke LukasReschke deleted the secure-mimetypes branch September 24, 2015 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants