Skip to content
Snippets Groups Projects
Commit 737bc87e authored by Kiran Ramachandra's avatar Kiran Ramachandra
Browse files

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

No-Typo-Check: The unit test is specifically written to test few cases, string "http://https://" is not a typo

Change-Id: Ib7c4fd9965e397cb2f85b105c6385d446af9250c
parent b7e735f8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment