commit | 2184df9eef9ad67630d3540cb97e70ec61e8f65c | [log] [tgz] |
---|---|---|
author | Ayush Sharma <ayushsha@google.com> | Tue May 10 14:09:40 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon May 16 21:12:36 2022 +0000 |
tree | dd4e665e7800ba4d00d792697aac266fdc41cfd4 | |
parent | 8c213b81a423db70894e80c9107dca01f20e19d5 [diff] |
Encode authority part of uri before showing in UI As per rfc2396, allowing only characters that are reserved|unreserved|@ to be in non escaped form, all the other characters will be escaped. This would cover all the possible characters there can be in valid authority as per the rfc2396. android.net.Uri conforms to RFC 2396. Bug: 221859869 Test: Manual Change-Id: Ib4f5431bd80b7f4c72c4414f98d99eeb7ca900ed Merged-In: Ib4f5431bd80b7f4c72c4414f98d99eeb7ca900ed (cherry picked from commit 8550c37c186099926ce364b65b61ffbf6ed7958d) Merged-In: Ib4f5431bd80b7f4c72c4414f98d99eeb7ca900ed