Skip to content

Release 7.2-4 - #390

Merged
studnitskiy merged 3 commits into
developfrom
7.2-dev
Nov 17, 2026
Merged

studnitskiy merged 3 commits into
developfrom
7.2-dev

Conversation

@studnitskiy

Copy link
Copy Markdown
Collaborator

No description provided.

…ttached

jquery-jec plugin used jQuery.isArray() calls which are removed from jQuery 4
Calls replaced with the native Array.isArray()

Fixes #389
$.post jQuery shorthand uses content-type application/x-www-form-urlencoded by default.
When the actual payload is JSON, it does not match the header. This causes middleware
such as ModSecurity with the OWASP Core Rule Set (CRS) to parse the request incorrectly,
resulting in false-positive security alerts and potentially blocked API operations.
Changed method calls to accept a settings object with the contentType parameter
"application/json; charset=utf-8".

Addressed #388
@studnitskiy
studnitskiy merged commit 033737c into develop Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant