Closed Bug 309610 Opened 20 years ago Closed 20 years ago

Stop using browser specific relative URLs

Categories

(Bugzilla :: Query/Bug List, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pjdemarco, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; PPG; .NET CLR 1.1.4322) Build Identifier: Version 2.19.1+ I want to extract some information from Bugzilla's long_list.cgi page and email it to someone who does not have access. So I type: wget http://bugzilla.mozilla.org/long_list.cgi?buglist=253453,262308 The data comes back, I email it, but the links don't work. But there is 1 link that does work and that's "Home" The others are just partial URLs that do not work. Here is example output from long_list.cgi <form method="get" action="show_bug.cgi"> <div id="useful-links"> <div id="links-actions"> <div class="label">Actions:</div> <div class="links"> <a href="https://bugzilla.mozilla.org/">Home</a> | <a href="enter_bug.cgi">New</a> | <a href="query.cgi">Search</a> | <input class="btn" type="submit" value="Find"> bug # <input class="txt" name="id" size="6"> | <a href="report.cgi">Reports</a> | <a href="request.cgi">Requests</a> | <a href="createaccount.cgi">New&nbsp;Account</a> | <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a> </div> </div> Reproducible: Always Steps to Reproduce: Actual Results: Most URLs don't work because they are relative. Expected Results: It would be best if the URLs were portable.
M.b. I did not get the idea, but if someone has no access, how could full URL's help? If that person has no access to specific bugs/products, either grant him an access and send him just original URL or send all the data textualy. Also, IMHO reporter should do RTFM for wget (clue: -k option) My vote goes for "RESOLVED: WONTFIX".
(In reply to comment #1) > M.b. I did not get the idea, but if someone has no access, how could full URL's > help? He has access sometimes. He is on the road and does not have access to anything but email. So he receives email, returns to the office and can navigate through the URLs. If that person has no access to specific bugs/products, either grant him > an access and send him just original URL or send all the data textualy. Explained above, and how would sending the data textually be any different? You mean resolve all the URLs textually? > Also, IMHO reporter should do RTFM for wget (clue: -k option) Nice advice, bad packaging. > My vote goes for "RESOLVED: WONTFIX". That's fine.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You can also customize the global/header.html.tmpl template and add a <base> tag in the html: Right after <head> and before <title>, add <base href="[% Param('urlbase') %]" /> This one line change makes links work in pages used in another context than the online bugzilla server.
this is bug 133549
You need to log in before you can comment on or make changes to this bug.