summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Kiran Ramachandra <kiranmr@google.com> 2024-05-13 23:05:27 +0000
committer Kiran Ramachandra <kiranmr@google.com> 2024-05-13 23:23:59 +0000
commit737bc87e74763a073b01253cd3d9a35ccfdc0138 (patch)
treee452e713c5940b6e6ccb5564e8c4b3f5def31d4b /libs/androidfw/AttributeResolution.cpp
parentb7e735f8ff0e17750a653fad507983c54df07ea5 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions