dustin10 / VichUploaderBundle

A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.
MIT License
1.85k stars 519 forks source link

Support PHP 8.1 #1239

Closed tacman closed 2 years ago

tacman commented 2 years ago

FILTER_SANITIZE_STRING is deprecated, it is used in createDownloadResponse() in DownloadHandler.php

https://stackoverflow.com/questions/69207368/constant-filter-sanitize-string-is-deprecated

Is there another way to handle that? I don't completely follow what this method does, and am wondering if the string manipulation is still needed.

garak commented 2 years ago

Fixed in latest version