constant FileUploadResource::REQUEST_HEADER_FILENAME_REGEX in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::REQUEST_HEADER_FILENAME_REGEX
- 9 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::REQUEST_HEADER_FILENAME_REGEX
The regex used to extract the filename from the content disposition header.
File
- core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php, line 67
Class
- FileUploadResource
- File upload resource.
Namespace
Drupal\file\Plugin\rest\resourceCode
const REQUEST_HEADER_FILENAME_REGEX = '@\\bfilename(?<star>\\*?)=\\"(?<filename>.+)\\"@';