[wp-trac] [WordPress Trac] #44236: Maintain consistency between privacy export report and archive filenames

WordPress Trac noreply at wordpress.org
Sun Sep 23 11:32:25 UTC 2018


#44236: Maintain consistency between privacy export report and archive filenames
-------------------------------------------------+-------------------------
 Reporter:  iandunn                              |       Owner:  GripsArt
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  low                                  |   Milestone:  4.9.9
Component:  Privacy                              |     Version:  4.9.6
 Severity:  minor                                |  Resolution:
 Keywords:  good-first-bug needs-testing has-    |     Focuses:
  patch needs-unit-tests                         |
-------------------------------------------------+-------------------------

Comment (by birgire):

 @GripsArt  Glad to hear you discussed this on contributor day.

 If I understand you correctly, then you're suggesting that the filename
 should not be sanitized?

 Allowing such filtering of file names, without restrictions, then plugins
 modifying it would e.g. have to consider:

 - Avoid creating files with unsupported chars, e.g. that cannot be
 deleted?
 - Avoid possible collisions of file names.
 - Avoid making it easier to guess the filenames.
 - ...

 There comes a risk with all filters, but I'm just trying to better
 understand the possible dangers here if it becomes open to modification
 :-) Maybe to have it documented in the filter's description, if added.

 I'm wondering what could be the use case of such a filter?

 Maybe removing the email address from it?

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


More information about the wp-trac mailing list