Encode user input data which used in java log (CWE ID 117)