- fixed obvious mistake in IDN script code (luckily it hasn't been in a submi...
[WebKit-https.git] / WebKit / Misc.subproj / WebNSURLExtras.m
index 6f5da84b25d87e7e47c8537e6a204471f46f3881..bfe83269213498cecf1bc923d6ca76230c3a1266 100644 (file)
@@ -813,7 +813,7 @@ static BOOL readIDNScriptWhiteListFile(NSString *filename)
                 if (IDNScriptWhiteList[index] & mask) {
                     NSLog(@"%@: script code %s is listed twice\n", filename, word);
                 }
-                IDNScriptWhiteList[script] |= mask;
+                IDNScriptWhiteList[index] |= mask;
             }
         }
     }