[Bug 59552] New: CyberLink PhotoDirector 8 downloader needs proper implementation of IsValidURL
http://bugs.winehq.org/show_bug.cgi?id=59552 Bug ID: 59552 Summary: CyberLink PhotoDirector 8 downloader needs proper implementation of IsValidURL Product: Wine Version: 11.5 Hardware: x86-64 URL: https://filehippo.com/download_photo-director/8.0.2303 .4/ OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: urlmon Assignee: wine-bugs@list.winehq.org Reporter: arethusa26@gmail.com Distribution: --- Created attachment 80608 --> http://bugs.winehq.org/attachment.cgi?id=80608 Wine debug output from CyberLink PhotoDirector 8 downloader On Windows, when running the downloader for CyberLink PhotoDirector 8, it will prompt to update the downloader to a new version, as PhotoDirector 8 no longer appears to be available for download. With wine-11.5, the downloader proceeds to the error message "CyberLink Downloader could not complete the download process" instead, which does not match the expected behavior on Windows. The downloader appears to retrieve information from the URL "http://downloader.cyberlink.com/prog/util/downloader/get-link.jsp?PRODUCTNAM..." to determine the installation file to retrieve. Currently, retrieving the response from the URL results in the string (pasted here as a C string literal) "ERROR: 001\r\nhttps://build.cyberlink.com/Retail/PhotoDirector/D1RN0OQ05HH74/CyberLink_Pho..." where the link in the response points to the updated downloader.
From the Wine debug output, the downloader checks if the retrieved response is a valid URL:
0134:fixme:urlmon:IsValidURL (00000000, L"ERROR: 001\r\nhttps://build.cyberlink.com/Retail/PhotoDirector/D1RN0OQ05HH74/CyberLink_Pho...", 0): stub As IsValidURL currently returns S_OK unconditionally if a string is passed to it, the downloader tries to use the response as a URL to be retrieved with wininet but fails, resulting in the observed error message. If IsValidURL is modified to return S_FALSE unconditionally, then the expected update prompt appears instead. -- 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=59552 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|CyberLink PhotoDirector 8 |CyberLink PhotoDirector 8 |downloader needs proper |downloader needs |implementation of |urlmon.IsValidURL |IsValidURL |implementation -- 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 (1)
-
WineHQ Bugzilla