Opened 9 years ago
Closed 9 years ago
#40491 closed defect (bug) (worksforme)
403 Forbidden when posting source code
| Reported by: | Eifbian | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 4.7.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hello, I was writing a simple code:
if(n == x)
and after clicking on the preview button I got a 403 Forbidden code message. The problem seems to appear in just this part of the code:
if(n=
I found out that the next options:
if ( x = if( x = if( x= if ( x =
give no problem at all. To highlight code I am using SyntaxHighlighter Evolved 3.2.1, but deactivating it (and all the other plugins I have) didn't solve the issue.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @Eifbian,
Unfortunately this doesn't sound like WordPress's fault, but rather, your server configuration.
Your server most likely has a security module installed which is blocking the request, as it believes it contains malicious javascript or matches a known attack.
You may wish to contact your host and ask if they have mod_security or a similar module installed which would block you posting the given text to your site.