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

Commit 58ec9ae4 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Automerger Merge Worker
Browse files

Merge "Fix logic inversion bug from Android 1.0." into rvc-dev am: 672582e4 am: 148cc1ae

Change-Id: I4b62b045cc629ca02737b3b0bcf50a07f7e4c30c
parents b56348a5 148cc1ae
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)  ||