We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.drupal.org/node/3380380
Introduced in branch/version: 10.3.x / 10.3.0
A new static method for parsing a filename from the content-disposition header for file uploads has been added.
For example:
use Symfony\Component\HttpFoundation\Request; $filename = ContentDispositionFilenameParser::parseFilename($request)
use Symfony\Component\HttpFoundation\Request;
$filename = ContentDispositionFilenameParser::parseFilename($request)
This deprecates two duplicate methods in REST and JSON API modules:
\Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader()
\Drupal\file\Plugin\rest\resource\FileUploadResource::validateAndParseContentDispositionHeader()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://www.drupal.org/node/3380380
Introduced in branch/version: 10.3.x / 10.3.0
A new static method for parsing a filename from the content-disposition header for file uploads has been added.
For example:
This deprecates two duplicate methods in REST and JSON API modules:
\Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader()
\Drupal\file\Plugin\rest\resource\FileUploadResource::validateAndParseContentDispositionHeader()
The text was updated successfully, but these errors were encountered: