Closed (fixed)
Project:
File downloader
Version:
2.0.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2023 at 03:55 UTC
Updated:
2 Oct 2025 at 15:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rosk0Comment #3
rassoni commentedDeprecated code should cover in D10 or D9 compatibility issues. Instead of removing it . we can use
\Symfony\Component\Mime\Header\UnstructuredHeader.
Comment #4
omkar_yewale commentedComment #5
omkar_yewale commentedHere is the updated patch. Please take a look.
Comment #6
ericgsmith commentedPlease read the issue description
> At the same time I believe that this could be classified as a bug because there is no need to encode valid MIME type returned by the MIME guesser service in the first place.
This is not specifically about deprecation. There is no need to do encoding here - look at what core does https://git.drupalcode.org/project/drupal/-/blob/10.1.0/core/modules/fil... I do not see a reason why this module would need to do anything different.
I believe the correct approach is from the original patch to remove the encoding. RTBC based on patch in #2
Comment #7
sjerdoThis was committed in https://git.drupalcode.org/project/file_downloader/-/commit/c7069f5e3795...