Issue #2924860 by Kng, AdamPS: “Uncaught exception” page contains HTML but has content-type text/plain