Skip to content

Use BlobHelper#content_type instead of #mime_type.

Matthias Käppler requested to merge github/fork/knu/blob_content_type into master

Created by: knu

This provides Content-Type with a proper charset, and plugs a security hole that a raw HTML file is served with a browser executable MIME type (text/html) from the same domain where users are authenticated.

Merge request reports

Loading