http://bugs.winehq.org/show_bug.cgi?id=29159
Bug #: 29159 Summary: HTTP_HttpOpenRequestW Unable to escape string Product: Wine Version: 1.3.33 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: jiri.humpolicek@seznam.cz Classification: Unclassified
Created attachment 37613 --> http://bugs.winehq.org/attachment.cgi?id=37613 Binary and sources of test application
It seems that HTTP_HttpOpenRequestW has problems with escaping some characters. In attachment there are simple application and its sources which tries to download data from URL: "http://mapview.dyndns.org/Czech Republic - Ceska Republika/CR-Mapy KCT/77_77 jihlavske vrchy/coordinates_list", but in wine we get 404 because spaces is not escaped. There is error message on terminal which informs us about escaping problems.
http://bugs.winehq.org/show_bug.cgi?id=29159
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2011-11-25 05:01:28 CST --- Works fine here. Please attach a +wininet trace.
http://bugs.winehq.org/show_bug.cgi?id=29159
bulldust jrndegwa@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jrndegwa@hotmail.com
--- Comment #2 from bulldust jrndegwa@hotmail.com 2011-12-24 04:06:51 CST --- I have the same error appearing on various wine versions I have tried (1.2.1, 1.2.3, 1.3.6, 1.3.30, 1.3.35) on a website that unfortunately only runs in IE. Perhaps someone can test a request similar to the one below
err:wininet:HTTP_HttpOpenRequestW unable to escape string!(L"/TarifTables/ListePrdChap.asp?codeposition=0101&libposition=Live horses, asses, mules and hinnies.") (-2147467261)
http://bugs.winehq.org/show_bug.cgi?id=29159
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-01-17 15:28:06 CST --- The sample application from comment 0 works fine for me in wine-1.3.37-30-g2f89224. Can't test the URL from comment 2 because it's incomplete.
http://bugs.winehq.org/show_bug.cgi?id=29159
Ruben Reyes kd0qwu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kd0qwu@gmail.com
--- Comment #4 from Ruben Reyes kd0qwu@gmail.com 2012-03-28 21:44:00 CDT --- I get a very similar error when trying to launch Asheron's Call. The error occurs when the launcher is trying to patch the game.
err:wininet:HTTP_HttpOpenRequestW Unable to escape string!(L"/acpatch/2006051701_0605171155/all/HelpContent/ALLEGIANCE TOOLS.ksml") (-2147467261)
If I do a google search for the "err:wininet:HTTP_HttpOpenRequestW Unable to escape string!" part I find that several other games are running into the same issue.
FWIW, I can copy the patched files from a Windows installation and the game works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=29159
--- Comment #5 from Ruben Reyes kd0qwu@gmail.com 2012-03-28 21:46:58 CDT --- Created attachment 39588 --> http://bugs.winehq.org/attachment.cgi?id=39588 Wine Error Log
[ruben@WS01 ~]$ wine --version wine-1.5.0
Please see my other comment for details...
http://bugs.winehq.org/show_bug.cgi?id=29159
--- Comment #6 from Austin English austinenglish@gmail.com 2012-03-29 12:28:11 CDT --- austin@aw25 ~ $ wine wininet_test.exe fixme:heap:HeapSetInformation (nil) 1 (nil) 0 Grid S-42 3499000;5476000;161;166 3535000;5476000;5905;245 3536000;5449000;5999;4481 3499000;5449000;115;4408 data length: 116 austin@aw25 ~ $ echo $? 0 austin@aw25 ~ $ wine --version wine-1.5.0-204-ga179b50
works here.
http://bugs.winehq.org/show_bug.cgi?id=29159
--- Comment #7 from Marc Grondin marcfgrondin@gmail.com 2012-08-07 05:44:52 CDT --- Created attachment 41307 --> http://bugs.winehq.org/attachment.cgi?id=41307 Test app with Wine 1.5.0 on Funtoo
This is the result of the test app with wine 1.5.0 on Funtoo. Wine is build with only win 32 support but my Funtoo install is 64-bit. I am also seeing the same results as previous comment with Asheron's Call Launcher.
http://bugs.winehq.org/show_bug.cgi?id=29159
Marc Grondin marcfgrondin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marcfgrondin@gmail.com
--- Comment #8 from Marc Grondin marcfgrondin@gmail.com 2012-08-08 05:43:42 CDT --- so since wine 1.5.10 is out i i have installed i did some more testing. With a fresh wine profile the test app works/ as soon as i install any version of IE it starts to fail. The problem for me is that without IE the Asheron's call launcher will not start so i need to install at least IE6. i am not sure what is really causing this but hope this report helps in some way.
https://bugs.winehq.org/show_bug.cgi?id=29159
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |RESOLVED URL| |http://content.turbine.com/ | |sites/clientdl/ac1/ac1insta | |ll.exe CC| |focht@gmx.net Resolution|--- |FIXED Summary|HTTP_HttpOpenRequestW |Multiple apps and games |Unable to escape string |fail due to | |'HTTP_HttpOpenRequestW' | |being unable to escape some | |characters
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
'Asheron's Call' launcher/patcher starts fine here in clean 32-bit WINEPREFIX. No IE6/7/8 winetricks recipes needed.
Since some people stated 'fixed' and the attached test app is broken (host doesn't resolve) assuming 'fixed'.
Reopen if still present but be sure to attach/provide a working demonstration/example.
$ sha1sum ac1install.exe 783bbbd635ddfc81a7449a9bfafdd9fcc6cd3311 ac1install.exe
$ du -sh ac1install.exe 572M ac1install.exe $ wine --version wine-1.7.21-61-gf9f3b21
Regards
https://bugs.winehq.org/show_bug.cgi?id=29159
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.22.