6.0.0-beta1
7/8/25

[#7215] Apostrophes in attachment names are backslashed
Summary Apostrophes in attachment names are backslashed
Queue IMP
Queue Version 4.2.1-RC1
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester chuck (at) horde (dot) org
Created 08/17/2008 (6169 days ago)
Due
Updated 08/18/2008 (6168 days ago)
Assigned 08/18/2008 (6168 days ago)
Resolved 08/18/2008 (6168 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/18/2008 06:17:32 PM CVS Commit Comment #6 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/docs/CHANGES?r1=1.1171&r2=1.1172&ty=u
08/18/2008 06:16:30 PM Michael Slusarz Comment #5
State ⇒ Resolved
Priority ⇒ 2. Medium
Queue ⇒ IMP
Version ⇒ 4.2.1-RC1
Reply to this comment
Yup, that's it.  We were also not escaping displaying the notification 
message when uploading a mbox file.  Fixed these two.
08/18/2008 05:50:26 PM Chuck Hagenbuch Comment #3 Reply to this comment
I think we may need to run the keys from $_FILES through 
Util::dispelMagicQuotes - try running it with magic_quotes_gpc on (I 
keep the setting on for testing to make sure we neuter it). I see this 
in both Firefox and Safari, fwiw.
08/18/2008 05:44:56 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
I don't see this.  And the MIME headers look fine also:



Content-Type: text/plain;

        charset=UTF-8;

        name="Test' file.txt"

Content-Disposition: attachment;

        filename="Test' file.txt"


08/17/2008 10:58:00 PM Chuck Hagenbuch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Apostrophes in attachment names are backslashed
Queue ⇒ DIMP
Assigned to Michael Slusarz
Milestone ⇒
Patch ⇒ No
State ⇒ Assigned
Reply to this comment
When attaching a file with a single quote in its name, the quote gets 
escaped with a backslash both in the attachment list in the compose 
window, and then when the message is received, the backslash is still 
there in the part name.

Saved Queries