Reviewed by Vicki.
[WebKit-https.git] / WebKit / Plugins.subproj / WebNetscapePluginStream.m
index 1097385afa8059fb86aab59b061852b3714dd963..3072c6d1f645f0a2f71b7b4dc14d9046e2742534 100644 (file)
@@ -39,7 +39,7 @@
 
     WebBridge *bridge = [[view webFrame] _bridge];
     BOOL hideReferrer;
-    if (![bridge canLoadURL:[request URL] fromReferrer:[bridge referrer] hideReferrer:&hideReferrer])
+    if (![bridge canLoadURL:[theRequest URL] fromReferrer:[bridge referrer] hideReferrer:&hideReferrer])
         return nil;
 
     if ([self initWithRequestURL:[theRequest URL]