You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$result->appendChild(newXMLElement('error',
General::wrapInCDATA($e->getMessage() . ' on ' . $e->getLine() . ' of file ' . $e->getFile())
));
@jensscherbl is that a breaking change ? It never contained xml... (I feel it's a bug fix, since it can crash the whole frontend because xml bla bla bla)
The text was updated successfully, but these errors were encountered:
Is this just for real exceptions, like SQL errors? Then no. Or also for expected results, like an empty result set or not executed data sources because of parameters etc. Then yes.
Exceptions can come from remote servers (like MySQL or SMTP) and can
contain invalid xml data.
User exceptions can also break this rule. As a safety precaution, we
will wrap message just before ouput.
Also, it's worthy to say that multiple calls to
General::General::wrapInCDATA() is safe.
Fixes#2518
Exceptions can come from remote servers (like MySQL or SMTP) and can
contain invalid xml data.
User exceptions can also break this rule. As a safety precaution, we
will wrap message just before ouput.
Also, it's worthy to say that multiple calls to
General::General::wrapInCDATA() is safe.
Fixes#2518
Exceptions can come from remote servers (like MySQL or SMTP) and can
contain invalid xml data.
User exceptions can also break this rule. As a safety precaution, we
will wrap message just before ouput.
Also, it's worthy to say that multiple calls to
General::General::wrapInCDATA() is safe.
Fixes#2518
Picked from 2d8d5e0
Like here.
It should be
@jensscherbl is that a breaking change ? It never contained xml... (I feel it's a bug fix, since it can crash the whole frontend because xml bla bla bla)
The text was updated successfully, but these errors were encountered: