Bug 255899

Summary: Attachments' content-disposition filenames encoded in format not supported by Safari
Product: WebKit Reporter: lingho <lingho>
Component: Tools / TestsAssignee: lingho <lingho>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description lingho@apple.com 2023-04-24 17:57:43 PDT
Bugzilla attachments' filename are encoded using MIME-Q RFC2047 format which is not supported by Safari. This surfaced to become an issue after bugs.webkit.org was migrated to EL8 platform. Previously the encoding did not work and filenames were added to the content-disposition header unchanged.
Comment 1 Radar WebKit Bug Importer 2023-04-24 17:58:22 PDT
<rdar://problem/108480543>
Comment 2 lingho@apple.com 2023-04-25 14:35:05 PDT
This was first corrected in https://github.com/bugzilla/harmony/commit/557410f34c224543c0afb8686f995fca3297bc68 .

The current change is based on https://github.com/bugzilla/harmony/blob/main/attachment.cgi

Tested on Safari, Firefox, Chrome and Opera.
Comment 3 lingho@apple.com 2023-04-25 14:36:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13169
Comment 4 EWS 2023-04-26 11:44:32 PDT
Committed 263422@main (05c3544024ad): <https://commits.webkit.org/263422@main>

Reviewed commits have been landed. Closing PR #13169 and removing active labels.