Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666

am: 928b7cba47

Change-Id: I1c41d3eb7ac815b8cf04879fbeee70a66d5a2a3e
This commit is contained in:
Christopher Schuster
2017-09-22 15:11:08 +00:00
committed by android-build-merger

View File

@@ -9347,7 +9347,7 @@ public class Intent implements Parcelable, Cloneable {
for (int i=0; i<N; i++) {
char c = data.charAt(i);
if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')
|| c == '.' || c == '-') {
|| (c >= '0' && c <= '9') || c == '.' || c == '-' || c == '+') {
continue;
}
if (c == ':' && i > 0) {