[wp-trac] [WordPress Trac] #52299: Exported user data can be listed with directory listing
WordPress Trac
noreply at wordpress.org
Sun Jan 17 13:33:51 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
-----------------------------+-----------------------------
Changes (by xkon):
* keywords: has-patch commit => has-patch
Comment:
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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52299#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list