Fixed URL encoding bug.