Encode not allowed characters in URL.