CommentFileSizeAuthor
#2 3026190-2.patch2.36 KBosopolar

Comments

osopolar created an issue. See original summary.

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new2.36 KB

I copied the vendor_stream_wrapper module to create my own stream wrapper which works similar (see #3026195: Directory stream wrapper: Port to Drupal 8). There I replaced the katzien/php-mime-type package with Drupal's (Symfony's) MimeTypeGuesser. I just copied the changes, but didn't test the code. Anyway, I hope it is helpful.

jaypan’s picture

Thanks, contribution appreciated. I had not known of the Symfony component for handling Mime types. I'll incorporate this into the module.

  • osopolar authored 420c9cd on 8.x-1.x
    Issue #3026190 by osopolar, jaypan: Use MimeTypeGuesser instead of...
jaypan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.