bug #4612 [security] XSS vulnerability in redirection mechanism

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
bug #4611 [security] DOS attack with long passwords

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
4.2.13.1 release

Signed-off-by: Marc Delisle <marc@infomarc.info>
Merge branch 'MAINT_4_2_13' into STABLE