protected property DuplicateContentPreventionMiddleware::$forbiddenExtensions in CDN 8.3
The file extensions for which this middleware will act.
Hardcoded to avoid costly I/O.
Type: string[]
File
- src/
StackMiddleware/ DuplicateContentPreventionMiddleware.php, line 81
Class
- DuplicateContentPreventionMiddleware
- Redirects CDN user agents' requests for HTML to the canonical location.
Namespace
Drupal\cdn\StackMiddlewareCode
protected $forbiddenExtensions = [
'',
'html',
'htm',
'php',
];