Parse url argument properly.