2007-04-19 Oliver Hunt <oliver@apple.com>
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 02:50:14 +0000 (02:50 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 02:50:14 +0000 (02:50 +0000)
commitd27b9e67f0c097aa0e1e56611cf45439fecf6313
tree1cce027a782da3ff4f84192654b89ca21121df4e
parent7e91be41d479f097756377f0f4066b09b2dc8496
2007-04-19  Oliver Hunt  <oliver@apple.com>

        Reviewed by Adam.

        Fix for <rdar://problem/4960912> -- REGRESSION: Content-Disposition:
        filename is ignored for drag-and-drop.

        * WebView/WebResource.mm:
        (-[WebResource _fileWrapperRepresentation]):
          When creating the NSFileWrapper check the response for a preferred
          filename, rather than just blindly hoping for the best.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView/WebResource.mm