Closed
Bug 239849
Opened 20 years ago
Closed 20 years ago
php attachment has corrupted inline display (data is fine)
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 236212
People
(Reporter: bmo, Assigned: sspitzer)
Details
Attachments
(1 file)
231 bytes,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316 When attaching a PHP file to a message, it is added as mime type text/html and content disposition inline (I don't know if this is right or wrong, the text/html doesn't sound right). When Moz 1.7b is displaying this as inline, the entire file is not displayed. Source of message is: Content-Type: multipart/mixed; boundary="------------000706050009050508080600" This is a multi-part message in MIME format. --------------000706050009050508080600 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit [test-attach] --------------000706050009050508080600 Content-Type: text/html; name="gen.php" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gen.php" <?php for ( $a = 0; $a < 10000; ++$a ) { echo<<<ENTRY <licence key="$a" name="Test User $a"> <restrict type="date" from="01/01/2004 00:00:00" to="31/12/2005 23:59:59" /> </licence> ENTRY; } ?> --------------000706050009050508080600 Content-Type: text/plain; name="test1.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test1.txt" test1.txt --------------000706050009050508080600-- Actual inline display of message is: [test-attach] -- ENTRY; } ?> -- test1.txt Reproducible: Always Steps to Reproduce: 1. attach gen.php attachment (will upload next) to message 2. send it to yourself 3. view message in moz mail 1.7b or thunderbird 0.5
Comment 2•20 years ago
|
||
Reproduced with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040406 Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → Windows 2000
Comment 3•20 years ago
|
||
Found a dupe. It's likely, as the dupe notes, that the "corrupt display" is due to the attachment being given a type of text/html. *** This bug has been marked as a duplicate of 236212 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•