https://bugzilla.wikimedia.org/show_bug.cgi?id=16876

           Summary: cleanupImages.php should enforce same file naming rules
                    as UploadBase
           Product: MediaWiki
           Version: 1.14-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently, the maintenance/cleanupImages.php script will happily move files to
names that would not be permitted for new uploads.  Most glaringly, the current
implementation of ImageCleanup::buildSafeTitle() may deliberately insert
backslashes into file names, even though wfBaseName(), as called from
UploadBase::getTitle() via wfStripIllegalFilenameChars(), explicitly says that
"we don't want \s in our [...] paths".


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to