constant FileUploadResource::REQUEST_HEADER_FILENAME_REGEX in Drupal 8
Same name and namespace in other branches
- 9 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::REQUEST_HEADER_FILENAME_REGEX
- 10 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 66
Class
- FileUploadResource
- File upload resource.
Namespace
Drupal\file\Plugin\rest\resourceCode
const REQUEST_HEADER_FILENAME_REGEX = '@\\bfilename(?<star>\\*?)=\\"(?<filename>.+)\\"@';