http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5288

           Summary: ArchiveIterator fails on filenames with leading spaces
           Product: Spamassassin
           Version: 3.1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


While trying to run sa-learn on some mailboxes with leading spaces in their
names, I discovered that ArchiveIterator.pm fails to open such mailboxes because
it uses the 2 argument version of open() which strips leading whitespace from
filenames.
The attached patch fixes this fixes by prepending ./ to such filenames (as per
the  Camel book)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to