[Bug 26368] New: Parent relative paths not working in ITSS Moniker protocol

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 10 07:35:08 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=26368

           Summary: Parent relative paths not working in ITSS Moniker
                    protocol
           Product: Wine
           Version: 1.3.14
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ilan at cogniview.com


Parent relative paths that use the mk:@MSITStore protocol don't seem to work
correctly.

Test case:
* Download the CHM from here:
http://www.innovasys.com/products/ce/downloadexample.aspx
* Place it in C:\ drive (~/.wine/drive_c) so now you have C:\RealWorld.chm
* Open this URL in iexplore.exe:
mk:@MSITStore:c:\RealWorld.chm::/Images/collapse.gif
This loads an image correctly.
* Now open this URL:
mk:@MSITStore:c:\RealWorld.chm::/Images/../Images/collapse.gif
This tries to access the chm file C:\Images\collapse.gif, and obviously fails.

Note that I used this specific CHM in the test case just because it is publicly
available for download, but any CHM with a folder inside it would work for this
test just the same.

Also note that a similar test in IE on Windows works as expected and loads the
image using any of the URLs.

And lastly, note that if an HTML file inside the CHM refers to a relative path
with "..", the same problem occurs. For example, if there is an IMG tag with
SRC="../Images/whatever.gif" then you get the same problem.

I tested this on Ubuntu 10.10 with wine 1.3.14

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list