[Poppler-bugs] [Bug 20818] New: Undocumented case-insensitive matching of filenames in PDFDoc::PDFDoc()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 23 20:33:15 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20818

           Summary: Undocumented case-insensitive matching of filenames in
                    PDFDoc::PDFDoc()
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: ewtoombs at uwaterloo.ca


Created an attachment (id=24176)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24176)
0001-removes-case-insensitive-matching-of-filenames

This patch gets rid of what I think many would consider undesirable
behaviour allowing, to some extent, case-insensitive matching of the file name
passed to the PDFDoc constructor. It used to try opening, for example,
"fileName.Pdf", then failing that try opening "filename.pdf", then failing that
try opening "FILENAME.PDF".

This attempt at matching the case doesn't make sense in a case-sensitive file
system and it is certainly not what developers using the library would expect
to see happen, since nowhere in at least poppler-glib's documentation does it
suggest poppler_new_document_from_file() would do this with the file name.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list