mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Merged the PDF XSS protection functionality into ModSecurity.
This commit is contained in:
@@ -395,6 +395,13 @@ struct directory_config {
|
||||
|
||||
/* Content injection. */
|
||||
int content_injection_enabled;
|
||||
|
||||
/* PDF XSS Protection. */
|
||||
int pdfp_enabled;
|
||||
const char *pdfp_secret;
|
||||
int pdfp_timeout;
|
||||
const char *pdfp_token_name;
|
||||
int pdfp_only_get;
|
||||
};
|
||||
|
||||
struct error_message {
|
||||
|
Reference in New Issue
Block a user