[wp-trac] [WordPress Trac] #46719: fastcgi_finish_request usage in wp-cron.php and 3party plugins

WordPress Trac noreply at wordpress.org
Fri Mar 29 15:15:39 UTC 2019


#46719: fastcgi_finish_request usage in wp-cron.php and 3party plugins
--------------------------+-----------------------------
 Reporter:  Rahe          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Cron API      |    Version:  5.1
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,

 The 5.1 introduce the usage fastcgi_finish_request into wp-cron.php.
 But the plugin wp-all-export pro allow to download data by calling
 directly an wp-cron.php url.

 The process check if there is something to be downloaded and if this is
 the case, makes a wp_redirect call to the right file.

 With the usage of fastcgi_finish_request , the connection is closed and
 the redirect is not spawned.

 I don't know if multiple plugins are doing this, but this can be a problem
 in some cases when needing file streaming or redirections.

 Maybe allow to deactivate ?

 Nicolas,

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


More information about the wp-trac mailing list