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

WordPress Trac noreply at wordpress.org
Wed Jan 20 19:40:34 UTC 2021


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

Comment (by lucasbustamante):

 Replying to [comment:6 xkon]:
 > Revisiting this, there are a couple more places that we'll need to
 update for index.php change.
 >
 > The function `wp_privacy_delete_old_export_files()` should be changed
 for the .php file to remain untouched.
 >
 > As well as in phpunit tests the `test_creates_index_in_export_folder()`
 in `wpPrivacyGeneratePersonalDataExportFile.php` and `self::$index_path`
 in `wpPrivacyDeleteOldExportFiles.php` check against index.html as well.
 These should be updated also to avoid failures while testing :) .
 >
 > @lucasbustamante could you give it a look and update your PR please?

 Updated, thanks! Commits:
 - https://github.com/WordPress/wordpress-
 develop/pull/871/commits/fda059e0c8dd82d7f73e64c88c1fd48650a34a35
 - https://github.com/WordPress/wordpress-
 develop/pull/871/commits/f5f6e1fa6d21d8f05959ddf02c14dd5fecd81875

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


More information about the wp-trac mailing list