Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#43823 closed defect (bug) (invalid)

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

Reported by: fgluck Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.5
Component: Editor Keywords:
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 (2)

#1 @SergeyBiryukov
4 years 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.

#2 @pento
3 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.