Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34218 - Some links are missing the filename and only have the query string
Summary: Some links are missing the filename and only have the query string
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-23 13:58 UTC by Baron "Xaprb" Schwartz
Modified: 2003-11-24 05:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baron "Xaprb" Schwartz 2003-11-23 13:58:04 UTC
Some of the links in the handbook don't have the filename, but only the query
string, e.g. line 469 in the file I get by saving
http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=2 as HTML only
with Mozilla Firebird:
<a href="?part=1&amp;chap=3">

Many browsers know what to do with this, but some don't.  I noticed a problem
with this when I booted to the LiveCD, ran screen, and kept links up in one
screen to show me the documentation as I installed in another screen.  Netscrape
4 will also break on this.

Reproducible: Always
Steps to Reproduce:
1. Surf to http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=2 with
links.
2. Search for 'Configuring your Network' until you land on a link.
3. Activate the link with the right arrow key.

Actual Results:  
The browser displays the home page of the documentation.

Expected Results:  
The browser should have gone to the link location as though there were
'handbook.xml' prepended to the link.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-23 21:21:42 UTC
I'll try fixing this in the xslt. I cannot use hardcoded "handbook.xml?part=..." links as the files used are also used for other documents (the draft handbook workings and possible non-official handbook hacks).
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-24 01:43:25 UTC
Okay, I'm going to hardcode the handbook.xml-file in the stylesheet temporarily 
until I can find out a way to get the XML code of the parent file from a 
document()'ed file.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-11-24 05:56:07 UTC
Okay, the changes are applied.