Fix clientside URL parsing.