Fixing a discrepancy with url parsing.