Fixed double URL encoding bug.