Fixed url encoding bug.