Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d8343e2 authored by Kiran Ramachandra's avatar Kiran Ramachandra Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:737bc87e74763a073b01253cd3d9a35ccfdc0138)
Merged-In: Ib7c4fd9965e397cb2f85b105c6385d446af9250c
Change-Id: Ib7c4fd9965e397cb2f85b105c6385d446af9250c
parent 6cc670ab
Loading
Loading
Loading
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