Reviewed by Darin.
[WebKit-https.git] / WebKit / WebView / WebUnarchivingState.m
index 6e584f7d7ec34d70c52bc55d18329cf0e58e5684..f3c83cfe1fd34b2490f380b8c98dbdf1b85c0dfa 100644 (file)
@@ -76,7 +76,7 @@
 
 - (WebResource *)archivedResourceForURL:(NSURL *)URL
 {
-    return [archivedResources objectForKey:URL];
+    return [archivedResources objectForKey:[URL _web_originalDataAsString]];
 }
 
 - (WebArchive *)popSubframeArchiveWithFrameName:(NSString *)frameName