Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#49229 closed defect (bug) (invalid)

Not acceptable! error by mod security, when using page jumps

Reported by: deon-b's profile Deon B Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


When I use page jumps:

<a href="#top-3">Our top 3 picks</a>
<a name="top-3"></a>

sometimes I get this error.
Not acceptable! this error was generated by mod security

then I change a bit the names in there like for example:
<a href="#top3abs">Our top 3 picks</a>
<a name="top3"abs></a>

and the error disappears.

This is really random and I don't see any patterns or why this could happen.
I just have to keep changing the name in there until it gets accepted.

Change History (2)

#1 @Deon B
4 years ago

Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

#2 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi there, welcome to WordPress Trac! Thanks for the ticket.

I'm sorry to hear you are having issues with WordPress. Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions.

In this case, the message clearly says that it comes from Apache's ModSecurity module, not from WordPress core.

Please try the support forums to get help with your site:

Note: See TracTickets for help on using tickets.