Merge "Fix logic inversion bug from Android 1.0." into rvc-dev
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user