Issue Bug Closed

#43320Be outputs debug answer into ajax responses

Philipp Gampe 11/27/12, 02:38 updated 01/13/20, 18:35

Description

Related to #40216

Prerequisites: Turn on BE debug and SQL error display

Create a debug call that triggers an SQL error.
E.g. Install ext:flux and move a page in pagetree

Result:
The ajax response contains some
<script></script>
tags which contain the JS code to show the error in the debug toolbar.
The actual ajax response is shown as an exception in the debug toolbar.

Expected result:
No debug output at the ajax response, but a log entry. Or a warning that the answer contains a hidden message.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.