REGRESSION (r173356): Downloading a disk image appends ".txt" to it
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Oct 2014 15:26:14 +0000 (15:26 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Oct 2014 15:26:14 +0000 (15:26 +0000)
commit82c904c56399f0bbcd752f2f910cc7bacc886681
tree6df2cc5f4e7ecac103b9ad88e455fac8aae96186
parentc1a433f58c66ad26296b99a52934012f4c7f66ad
REGRESSION (r173356): Downloading a disk image appends ".txt" to it
https://bugs.webkit.org/show_bug.cgi?id=137493
<rdar://problem/18321947>

Reviewed by Alexey Proskuryakov.

* Shared/Downloads/ios/DownloadIOS.mm:
(WebKit::Download::startWithHandle):
* Shared/Downloads/mac/DownloadMac.mm:
(WebKit::Download::startWithHandle):

    It appears that the synthesized NS/CFURLResponse fails to serialize the suggested filename correctly
    unless it has been accessed first.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/Downloads/ios/DownloadIOS.mm
Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm