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@winehq.org Reporter: ocean04@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.
https://bugs.winehq.org/show_bug.cgi?id=38237
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://netikka.net/dev/notf | |oundtest.exe
https://bugs.winehq.org/show_bug.cgi?id=38237
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- wine output while running the program (no crash)
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20 Test failed!
1.7.55