Merge "Avoid launching captive portal pages when uri is empty" into main