[wp-trac] [WordPress Trac] #30258: Upload_path can cause a loop after migrating

WordPress Trac noreply at wordpress.org
Thu Dec 4 06:31:28 UTC 2014


#30258: Upload_path can cause a loop after migrating
-------------------------------+------------------------------
 Reporter:  sowmedia           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Filesystem API     |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:   => reporter-feedback
 * version:  trunk => 3.7
 * component:  General => Filesystem API


Comment:

 Hi @sowmedia, thanks for the report.

 The current recursive directory handling was added via #23196.

 I've attempted to reproduce what would cause the `while()` loop, but
 `dirname()` continues to work for me as expected when checking directories
 outside of a configured `open_basedir` setting. Can you provide an example
 of the config you're dealing with?

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


More information about the wp-trac mailing list