Bug 255899 - Attachments' content-disposition filenames encoded in format not supported by Safari
Summary: Attachments' content-disposition filenames encoded in format not supported by...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: lingho@apple.com
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-24 17:57 PDT by lingho@apple.com
Modified: 2023-04-26 11:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.