Closed
Bug 25081
Opened 25 years ago
Closed 23 years ago
linked bugs have absolute path in bug_form.pl
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: robb, Assigned: justdave)
Details
We have bugzilla v2.8 running on Redhat 6.1.
The cgi and perl files are in the cgi-bin directory and the html files are in
the html direcotry. When you view a bug (with show_bug.cgi/bug_form.pl) and it
has a link to another bug, it uses the base url instead of a relative path like
all the other references to show_bug.cgi. I changed lines 93 and 98 of
bug_form.pl to fix it.
This is line 93 before and after
$item = qq{<A HREF="${base}show_bug.cgi?id=$num">$item</A>};
$item = qq{<A HREF="show_bug.cgi?id=$num">$item</A>};
This is the change in the link.
http://domain/show_bug.cgi?id=41
http://domain/cgi-bin/show_bug.cgi?id=41
If you have any questions, let me know.
Comment 1•25 years ago
|
||
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details,
see my posting in netscape.public.mozilla.webtools,
news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Comment 2•24 years ago
|
||
This bug has not been touched for more than nine months. In most cases, that
means it has "slipped through the net". Please could the owner take a moment to
add a comment to the bug with current status, and/or close it.
Thank you :-)
Gerv
Comment 3•24 years ago
|
||
Not sure I know what's you mean here. Are you saying it fails when you have the
bugzilla scripts in a subdirectory on your web server?
QA Contact: matty
Updated•24 years ago
|
Target Milestone: --- → Bugzilla 2.16
Assignee | ||
Comment 4•24 years ago
|
||
I know debian is trying to pull this trick on us now, too...
I'm not sure I see the reasoning behind splitting up all the files like this. If
all of the files that belong to the application are together in one place it
makes it much easier to do things like running more than one copy of Bugzilla on
the same machine (which is done a lot for testing purposes,
landfill.tequilarista.org is a good example). If you split these files up and
put them in "standard" places, it a) breaks the application in subtle ways, like
you noted, and b) makes it impossible to run multiple copies on the same machine,
and c) causes potential conflicts with any other application that happens to
reuse the same filename as any of the other files in Bugzilla...
Comment 5•24 years ago
|
||
I think what this bug is saying is that relative URLs should be preferred over
absolute (urlbase-prefixed) URLs whenever one of the cgi scripts generates a
link to the same cgi script, or to another bugzilla cgi script of the same
installation. I think it's a good idea. And it's easy to fix.
Currently bug_form.pl has this line:
<TD ALIGN=RIGHT><B>Bug#:</B></TD><TD><A HREF=\"" . Param('urlbase') .
"show_bug.cgi?id=$bug{'bug_id'}\">$bug{'bug_id'}</A></TD>
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
Comment 7•24 years ago
|
||
bug_form.pl is like that because you can then drag the link places, or bookmark
it, and the right thing happens. I _know_ we changed it for a reason - there's a
bug on it somewhere.
Gerv
Assignee | ||
Comment 8•24 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Comment 9•23 years ago
|
||
This is WONTFIX - we made it use the base URL by design.
Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 10•23 years ago
|
||
clearing milestone in INVALID/WONTFIX/DUPLICATE/WORKSFORME so they'll show up as
untriaged if they get reopened.
Target Milestone: Bugzilla 2.18 → ---
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•