Merge "Fix url parsing for api version check"