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

Commit 672582e4 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Fix logic inversion bug from Android 1.0." into rvc-dev

parents 9024ce52 c6f5e988
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -306,7 +306,7 @@ public class UrlQuerySanitizer {
                return null;
            }
            int length = value.length();
            if ((mFlags & SCRIPT_URL_OK) != 0) {
            if ((mFlags & SCRIPT_URL_OK) == 0) {
                if (length >= MIN_SCRIPT_PREFIX_LENGTH) {
                    String asLower = value.toLowerCase(Locale.ROOT);
                    if (asLower.startsWith(JAVASCRIPT_PREFIX)  ||