Bug 203514 - Bugzilla marks "bug + newline + number" as a link to a bug
Summary: Bugzilla marks "bug + newline + number" as a link to a bug
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 2.8
Hardware: All
OS: All
low
low
Target Milestone: ---
Assignee: Bernd Groh
QA Contact: David Lawrence
URL: https://bugzilla.redhat.com/bugzilla/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-22 08:23 UTC by Jan Pazdziora
Modified: 2014-06-18 08:21 UTC (History)
1 user (show)

Fixed In Version: 2.18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-22 19:30:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2006-08-22 08:23:54 UTC
Description of problem:

The bugzilla seems to mark "bug\s+\d+" as a link to bug within bugzilla. This
should probably be changed to something like "bug +\d+", to prevent the link
from appearing when there is a newline, which seems to denote that the word bug
is not related to the number following on the next line.

Version-Release number of selected component (if applicable):

Current (2.18)

How reproducible:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202653

Steps to Reproduce:
1. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202653
2. observe the "Steps to Reproduce"
  
Actual results:

The word "bug" and the number "2" are a link to
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2, because of the following
HTML code:

this <span class="bz_closed"><a href="show_bug.cgi?id=2" title="CLOSED FIXED -
broken links of default index.html">bug
2</a></span>. run

Expected results:

There should be not link there.

Comment 1 Jan Pazdziora 2006-08-22 08:24:45 UTC
Hmmm. It did it again in my report. ;-)

Comment 2 David Lawrence 2006-08-22 19:30:46 UTC
Should be fixed now. Thanks for the report.


Note You need to log in before you can comment on or make changes to this bug.