discourse/spec/components/middleware
Sam Saffron 423ad5f0a4 FIX: do not log if an invalid mime type is passed to app
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
2019-11-21 15:51:34 +11:00
..
anonymous_cache_spec.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
discourse_public_exceptions_spec.rb FIX: do not log if an invalid mime type is passed to app 2019-11-21 15:51:34 +11:00
request_tracker_spec.rb DEV: correct spec to allow for new default 2019-11-18 16:05:58 +11:00