[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:09:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 0b918737ffb8c56fa540682a8499c021ec92456b
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 5 19:06:43 2003 +0000

    	Fixed: <rdar://problem/3474360>: should attempt to resolve symbolic links when choosing "Save Link As..."
    
            Reviewed by kocienda.
    
            * WebView.subproj/WebView.m:
            (-[WebView _fileWrapperForURL:]): follow sym links
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 8d2bb08..544dc62 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2003-11-05  Chris Blumenberg  <cblu at apple.com>
+
+	Fixed: <rdar://problem/3474360>: should attempt to resolve symbolic links when choosing "Save Link As..."
+
+        Reviewed by kocienda.
+
+        * WebView.subproj/WebView.m:
+        (-[WebView _fileWrapperForURL:]): follow sym links
+
 2003-11-05  Ken Kocienda  <kocienda at apple.com>
 
         Reviewed by Darin
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index dc95629..98c8240 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -1062,7 +1062,8 @@ NSString *_WebMainFrameURLKey =         @"mainFrameURL";
 - (NSFileWrapper *)_fileWrapperForURL:(NSURL *)URL
 {
     if ([URL isFileURL]) {
-        return [[[NSFileWrapper alloc] initWithPath:[URL path]] autorelease];
+        NSString *path = [[URL path] stringByResolvingSymlinksInPath];
+        return [[[NSFileWrapper alloc] initWithPath:path] autorelease];
     } else {
         NSCachedURLResponse *cachedResponse = [self _cachedResponseForURL:URL];
         if (cachedResponse) {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list