WordPress.org

Make WordPress Core

#46207 closed defect (bug) (invalid)

Can't create post that has "wget http" anywhere in it

Reported by: adampski Owned by:
Milestone: Priority: normal
Severity: trivial Version: 5.0.3
Component: Posts, Post Types Keywords:
Focuses: Cc:
PR Number:

Description

I can't publish a post that has any of the below strings anywhere in the content regardless of block type.

"wget https"
"wget http"
"wget ftp"
"wget telnet"
"wget sftp"
"wget ftps"

Problem persists across multiple instances of WordPress on the same server for me, all with different plugins and themes. Got girlfriend to try out her block on wordpress.com, not an issue there.

Change History (2)

#1 @adampski
10 months ago

Same if I replaced wget with curl.

#2 @Otto42
10 months ago

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

Hi! This should be a support post, over in https://wordpress.org/support/. :)

However, to save you some time and answer your question, ask your host about their mod_security rules. This is likely blocking you from sending potentially dangerous things to websites, in an attempt to block hacking scripts and the like. I've seen it on a number of hosting services before, usually because they make their rules overly aggressive.

So this isn't really a WordPress specific issue. Talk to your host. Or switch hosts.

Note: See TracTickets for help on using tickets.