constant TemporaryJsonapiFileFieldUploader::REQUEST_HEADER_FILENAME_REGEX in JSON:API 8.2
The regex used to extract the filename from the content disposition header.
File
- src/
Controller/ TemporaryJsonapiFileFieldUploader.php, line 49
Class
- TemporaryJsonapiFileFieldUploader
- Reads data from an upload stream and creates a corresponding file entity.
Namespace
Drupal\jsonapi\ControllerCode
const REQUEST_HEADER_FILENAME_REGEX = '@\\bfilename(?<star>\\*?)=\\"(?<filename>.+)\\"@';