Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12755

HTML error with watchers link when viewing a bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.9
    • None
    • Issue - Actions
    • None
    • apache, mod_proxy, mod_proxy_html

      The following line of HTML code is malformed. The <a> tag shouldn't have a '/' character at the end. This markup is usually for tags like <br /> and <img /> . I found this specifically because the apache module mod_proxy_html interperates this tag as a single tag and breaks the HTML (where browsers would normally ignore this error). This line of code only appears when viewing an issue.

      The offending code:

      <tr>
      <td valign="top"><b>Watchers:</b></td>
      <td valign="top">
      0
       <span class="small">(<a id="view_watchers" href="/secure/ManageWatchers!default.jspa?id=20479" />View</a>)</span>
      </td>
      </tr>

      The fix:
      <tr>
      <td valign="top"><b>Watchers:</b></td>
      <td valign="top">
      0
       <span class="small">(<a id="view_watchers" href="/secure/ManageWatchers!default.jspa?id=20479">View</a>)</span>
      </td>
      </tr>

              lxia Lily Xia [Atlassian]
              0592974bff10 Chris Stewart
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified