Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#43823 new defect (bug)

Posts can not be saved with /etc/ as part of the content

Reported by: fgluck Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.5
Component: Editor Keywords: close
Focuses: Cc:


I created a post using the latest version of WordPress with one line and the only content of the post.

The line is:


I can not save this post as a draft. When saving, I get a blank white screen. This was tested using Theme TwentyFifteen updated to the latest version.

I can save the post if there is a space between /etc and the last slash.

This has been tested with all plugins disabled with the same results.

Change History (1)

#1 @SergeyBiryukov
2 months ago

  • Keywords close added
  • Severity changed from critical to normal

Hi @fgluck, welcome to WordPress Trac!

This sounds like a security rule set up by your hosting provider. There's no code in WordPress core that would prevent posts containing /etc/ from being saved.

Please try the support forums for troubleshooting: https://wordpress.org/support/.

Related: #25564, #25736.

Note: See TracTickets for help on using tickets.