Closed Bug 280975 Opened 20 years ago Closed 20 years ago

In browser view of messages, output links to attachments: THE FIX

Categories

(MailNews Core :: MIME, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 264167

People

(Reporter: alfa21, Assigned: sspitzer)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.5) Gecko/20041231
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.5) Gecko/20041231

to fix the bug 264167:

instead of this (actual behaviour):

<table border="1">
 <tbody>
  <tr>
   <td>
    <div class="headerdisplayname" style="display: inline;"
align="right">file1</div>
   </td>
   <td>
    <table border="0">
    </table>
   </td>
  </tr>
 </tbody>
</table>


try with this handmade Alfa21(TM) GPL :-D piece of code:

<table border="1">
 <tbody>
  <tr>
   <td>
    <div class="headerdisplayname" style="display: inline;" align="right"><a
href="?part=1.2">file1</a></div>
   </td>
  </tr>
 </tbody>
</table>

NOTE: I've removed the second "td" with an empty table inside.

You can test it pasting it into the text body of any .eml with a file attached,
using a text editor.
NOTE: check and eventually change the .eml Content-Type: text/plain in text/html
to try it.



Reproducible: Always

Actual Results:  

<table border="1">
 <tbody>
  <tr>
   <td>
    <div class="headerdisplayname" style="display: inline;"
align="right">file1</div>
   </td>
   <td>
    <table border="0">
    </table>
   </td>
  </tr>
 </tbody>
</table>


Expected Results:  

<table border="1">
 <tbody>
  <tr>
   <td>
    <div class="headerdisplayname" style="display: inline;" align="right"><a
href="?part=1.2">file1</a></div>
   </td>
  </tr>
 </tbody>
</table>
Flags: blocking1.8b?
Flags: blocking1.7.6?
you posted your fix already in the the other bug, we need a C++ patch for this,
i'll post a link in the other bug to that code.

*** This bug has been marked as a duplicate of 264167 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Flags: blocking1.8b?
Flags: blocking1.8b-
Flags: blocking1.7.6?
Flags: blocking1.7.6-
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.