bugThe nmh Mail Handling System - Bugs: bug #11160, mhstore Overwrites its Previous...

 
 

bug #11160: mhstore Overwrites its Previous Files.

Submitted by:  Ralph Corderoy <ralph>
Submitted on:  Mon 29 Nov 2004 10:09:32 AM UTC  
 
Category: EnhancementSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 15 Sep 2012 06:44:30 PM UTC, comment #1:

Fixed for the release after 1.5, commit dd1c5703125bb10f78add2488ce32e83c523cfbb.

David Levine <levine>
Project Member
Mon 29 Nov 2004 10:09:32 AM UTC, original submission:

Hi,

Should mhstore protect itself from

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="part1_0.dc503142.259d2bb2_boundary"
X-Mailer: AOL 3.0.1 for Mac sub 84

--part1_0.dc503142.259d2bb2_boundary
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

...

--part1_0.dc503142.259d2bb2_boundary
Content-Type: multipart/appledouble; name="foo"; X-Mac-Creator="3842494d";
X-Mac-Type="4a504547"; boundary="ad_45416526_boundary"

--ad_45416526_boundary
Content-Type: application/applefile; name="foo"; X-Mac-Creator="3842494d";
X-Mac-Type="4a504547"
Content-Transfer-Encoding: base64

...

--ad_45416526_boundary
Content-Type: image/jpeg; name="foo"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="foo"

...

--ad_45416526_boundary--

--part1_0.dc503142.259d2bb2_boundary--

Plain mhstore creates

1.1.txt
1.2.1.applefile
1.2.2.jpeg

but add -auto and it uses the filename `foo' above quite a bit resulting
in the applefile being overwritten by the jpeg.

Commands like wget(1) will add suffixes, I wonder if mhstore should also
do something, assuming the above MIME is legal.

Cheers,

Ralph.

[Originally posted to nmh-workers.]

Ralph Corderoy <ralph>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by levine (Posted a comment)
  • -unavailable- added by pm215 (Updated the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Sep 2012 06:44:30 PM UTClevineStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 29 Dec 2008 10:40:44 PM UTCpm215CategoryNone=>Enhancement

    Back to the top


    Powered by Savane 3.1-cleanup1