bug #5297 :   The error code is now encoded for HTML before using it as a key of an error message
bug #5297 :   Fix bug #5298
bug #5297 :   Fix bug #5299
bug #5297 :   Fix the bug #5300
Bug #5299 : XSS prevention.