Problem/Motivation
The ExtensionMimeTypeGuesser in core got updated. It now returns NULL for unknown extension.
Ironically, that fix breaks remote_stream_wrapper's HttpMimeTypeGuesser.
Steps to reproduce
See phpunit test log in a pipeline after recent module commits.
Proposed resolution
Change code accordingly.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork remote_stream_wrapper-3486396
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pingwin4egPhpunit passed for Drupal 10.3.6 and PHP 8.1.30 - https://git.drupalcode.org/issue/remote_stream_wrapper-3486396/-/jobs/32... . And failed for D11 (expected, because the 2.x branch doesn't ready for D11 yet).
Comment #4
pawelgorski87 commentedHey, Fix works fine. I think we can move this ticket.
Also passed also in D11.
Comment #5
pawelgorski87 commentedComment #7
nagy.balint commentedI guess it is best to commit this here.
Thanks!
Comment #8
nagy.balint commented