Open Bug 324254 Opened 20 years ago Updated 13 years ago

Incorrect redirection when trying to access some pages

Categories

(Bugzilla :: Bugzilla-General, defect)

2.21
defect
Not set
minor

Tracking

()

People

(Reporter: LpSolit, Unassigned)

Details

When trying to access showdependencytree.cgi or votes.cgi (and maybe other .cgis too) when you are logged out and the bug is restricted to groups, the error message incorrectly points you to show_bug.cgi instead of the page you were trying to access. This is due to the call of Bugzilla::Bug::ValidateBugID() which throws the error 'bug_access_query': You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. To see this [% terms.bug %], you must first <a href="show_bug.cgi?id= [% bug_id FILTER url_quote %]&amp;GoAheadAndLogIn=1">log in to an account</a> with the appropriate permissions. Note that show_bug.cgi is hardcoded.
You need to log in before you can comment on or make changes to this bug.