mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 07:46:28 +08:00
423ad5f0a4
Previously our custom exception handler was unable to handle situations where an invalid mime type was sent, resulting in a warning log This ensures we pretend a request is HTML for the purpose of rendering the error page if an invalid mime type from a scanner is shipped to the app |
||
---|---|---|
.. | ||
anonymous_cache.rb | ||
discourse_public_exceptions.rb | ||
enforce_hostname.rb | ||
missing_avatars.rb | ||
omniauth_bypass_middleware.rb | ||
request_tracker.rb | ||
turbo_dev.rb |