flaxsearch / flaxcode

Automatically exported from code.google.com/p/flaxcode
4 stars 1 forks source link

Relative links between HTML pages in an index are broken on windows #163

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Index the sample documents collection, using a mapping of FLAX for the
collection.
2. Search for "relativelink".  Two results should be found.
3. Click on the link to display the first document.
4. Click on the link in the document which should switch to the second
document. 

What is the expected output? What do you see instead?

Expect the link to take me to the second document.  Instead, it returns a
not found error.

I think this is windows specific - the fix is probably to change the \'s in
the URL to /'s by splitting the path on them, and the to join paths
together again when they're retrieved from the URL using the system
specific separator character.

Original issue reported on code.google.com by boulton.rj@gmail.com on 17 Dec 2007 at 4:19

GoogleCodeExporter commented 9 years ago
I've committed a change which should fix this (revision 902).  Not marking as 
Fixed
because I haven't tested it on windows.

Original comment by boulton.rj@gmail.com on 9 Jan 2008 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by boulton.rj@gmail.com on 9 Jan 2008 at 4:56