Technical Tip: Preventing false positives during Nextcloud file uploads in FortiWeb
| Description | This article explains how to prevent false-positive attack detections when uploading files (such as PDF or image files) to a Nextcloud application protected by FortiWeb. |
| Scope | FortiWeb. |
| Solution | When protecting applications like Nextcloud, FortiWeb may inspect HTTP request bodies using attack signatures even when the payload is binary content (for example, PDF or image uploads via /remote.php/webdav/).
Configure via the CLI: config server-policy edit <server_policy_name> set payload-based-content-type enable next end After enabling this option:
This setting affects only body inspection behavior and does not disable other FortiWeb security checks. |

