Encode url before use in param
Signed-off-by: JohnMave126 <johnmave126@gmail.com>