[wp-trac] [WordPress Trac] #33160: Saving Post redirects to 404 page when php $_GET variable in post body

WordPress Trac noreply at wordpress.org
Tue Jul 28 21:00:20 UTC 2015


#33160: Saving Post redirects to 404 page when php $_GET variable in post body
-------------------------------+-----------------------------
 Reporter:  dominicme          |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.2.3
 Severity:  normal             |   Keywords:
  Focuses:  administration     |
-------------------------------+-----------------------------
 I am getting a 404 page after attempting to save as draft or publish. This
 is on a clean installation with no plugins or themes. This only happens on
 a remote hosting server and not on a local Linux server. The reason why I
 am reporting this as a bug is because text in the post should not be
 interpreted as code or cause a 404 error regardless of the environment. I
 am on Linux shared hosting running the following:

 Apache Version  2.2.29
 PHP Version     5.4.41
 MySQL Version   5.6.23

 What could possibly cause a 404 error due to text in the post body? It
 does not matter if "$_GET" is entered into visual or code view or if it is
 surrounded or not by any characters. Theme seems to be irrelevant. There
 is at least another 1 post that does not have $_GET line but still results
 in 404 when saving. Both posts were either saved or published before 404
 errors started occurring. There is about a 2 month gap (from now minus 1
 week) during which the issue was introduced. Looking forward to any
 insight into this.

 Thank you.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33160>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list