Batch page progress bar triggers a HTTP protocol compliance failed in F5 WAF

Created on 1 December 2022, over 1 year ago
Updated 12 October 2023, 9 months ago

Problem/Motivation

When running a batch process on a Drupal site which is behind a F5 Web Application firewall, this triggers an "HTTP protocol compliance failed" violation.

As stated on https://support.f5.com/csp/article/K10280, the violation is triggered by a POST request with Content-Length: 0.

Steps to reproduce

Run a batch job on a Drupal website which is behind a F5 WAF.

Proposed resolution

As there is no real data needed to be posted, add some dummy data to the post so content-Length > 0. See the attached patches.

✨ Feature request
Status

Needs work

Version

11.0 🔥

Component
Batch  →

Last updated 8 days ago

  • Maintained by
  • 🇬🇧United Kingdom @John Cook
Created by

🇳🇱Netherlands Ruuds

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024