Bug #5297 : escaping HTML only when script keyword exists in ErrorCode request parameter in order to display correctly the functional HTML messages returned by the server.

Don't forget to integrate it into 5.12.8-SNAPSHOT (and master too)