[wp-trac] [WordPress Trac] #20746: Accessing non-existing theme folder in Network install gives 500 error

WordPress Trac noreply at wordpress.org
Thu Jun 11 12:27:44 UTC 2015


#20746: Accessing non-existing theme folder in Network install gives 500 error
-------------------------------------+------------------------------
 Reporter:  arkimedia                |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Rewrite Rules            |     Version:  3.3.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+------------------------------

Comment (by thomaswm):

 Replying to [comment:23 wpmuguru]:
 > Replying to [comment:21 jorbin]:
 > > This needs some further testing, along with some clearer reproduction
 steps. We need to be very careful to not break any of the existing
 behavior.
 > >
 >
 > I believe you can reproduce this by requesting any non-existant file
 from a theme folder in a sub folder install
 >
 > {{{ http://example.com/subsite/wp-content/themes/twentyfifteen/image-
 that-does-not-exist.jpg }}}

 That's right. But not only the `themes` folder is affected. This problem
 occurs for any non-existent file in `wp-content` and any subfolder of `wp-
 content`.

 I tried to explain this in a bit more detail
 [https://gist.github.com/JustThomas/141ebe0764d43188d4f2 here].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20746#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list