Fixed URL encoding bug
Signed-off-by: Ignacio Quintero <nacho950@gmail.com>