[Bug 38237] New: UrlDownloadToFile should fail when not found
https://bugs.winehq.org/show_bug.cgi?id=38237 Bug ID: 38237 Summary: UrlDownloadToFile should fail when not found Product: Wine Version: 1.7.38 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: urlmon Assignee: wine-bugs(a)winehq.org Reporter: ocean04(a)suomi24.fi Distribution: --- In Windows function fails, when url (jpg) is not found. wine downloads&saves error page html. -> application crashed when it tried to use invalid jpg. FPC test/source: program notfoundtest; {$mode Delphi} uses sysutils, urlmon; var r: boolean; begin r := UrlDownloadToFile(nil, PChar('http://netikka.net/dev/not_found.jpg'), PChar('C:\t.jpg'), 0, nil)=0; if r=true then begin writeln('Test failed!'); readln; end; end. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38237 ocean04(a)suomi24.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://netikka.net/dev/notf | |oundtest.exe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38237 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #1 from super_man(a)post.com --- wine output while running the program (no crash) fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 Test failed! 1.7.55 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=38237 Andrew Nguyen <arethusa26@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 URL|http://netikka.net/dev/notf | |oundtest.exe | Keywords|download, source |testcase Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Nguyen <arethusa26@gmail.com> --- While the download link to the test executable no longer works, I was able to modify the originally posted source of the test program and compile it with Free Pascal Compiler 3.2.2. I can confirm that running the test executable on Windows 10 does not result in a file being created, but running it on wine-11.0-rc4 results in a new file that contains a HTTP 404 response. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=38237 --- Comment #3 from Andrew Nguyen <arethusa26@gmail.com> --- Created attachment 80043 --> http://bugs.winehq.org/attachment.cgi?id=80043 URLDownloadToFile test source and executable -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla