[wp-trac] [WordPress Trac] #52299: Exported user data can be listed with directory listing

WordPress Trac noreply at wordpress.org
Thu Jan 14 15:46:24 UTC 2021


#52299: Exported user data can be listed with directory listing
-----------------------------+------------------------------
 Reporter:  lucasbustamante  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Privacy          |     Version:  5.6
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  privacy
-----------------------------+------------------------------

Comment (by lucasbustamante):

 Replying to [comment:2 xkon]:
 > Hey @lucasbustamante thanks for report & PR!
 >
 > I see that you changed the actual html export as well.
 >
 > Ref:
 > {{{
 > if ( ! $zip->addFile( $html_report_pathname, 'index.html' ) ) {
 >       $error = __( 'Unable to add data to user privacy export file (HTML
 format).' );
 > }}}
 >
 > This should stay in .html format in my opinion so users can easily open
 it if need be so there's no need to change that into a .php as well.

 Fixed. Thanks!

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


More information about the wp-trac mailing list