PHP Classes

[Feature Request] filename* support

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  [Feature Request] filename* support  >  (Un) Subscribe thread alerts  
Subject:[Feature Request] filename* support
Summary:parse filename*= parameter in Content-Disposition header
Messages:1
Author:Kieran
Date:2017-08-24 14:16:11
 

  1. [Feature Request] filename* support   Reply   Report abuse  
Picture of Kieran Kieran - 2017-08-24 14:16:11
I don't believe mime_parser currently supports filename* in Content-Disposition or Content-Type headers?

For example:
Content-Type: image/png; name*0="FireShot Screen Capture #018 - '302 Found'
- www_laikastravels_tur_a"; name*1=r.png
Content-Disposition: attachment; size=13551; filename*0="FireShot Screen
Capture #018 - '302 Found' - www_laikastravels_t"; filename*1=ur_ar.png

It would be great if this could be supported, conforming to RFC 6266 and
RFC 5987.

This may have been requested in the past? https://www.phpclasses.org/discuss/package/3169/thread/194/