DO NOT MERGE Ignore - Sanitized uri scheme by removing scheme delimiter
Initially considered removing unsupported characters as per IANA guidelines, but this could break applications that use custom schemes with asterisks. Instead, opted to remove only the "://" to minimize disruption
Bug: 261721900
Test: atest FrameworksCoreTests:android.net.UriTest
Change-Id: I88b1550a5d8b3dc0f6286e28899884025d059645
No-Typo-Check: The unit test is specifically written to test few cases, string "http://https://" is not a typo
2 files changed