Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15034

ezFile::suffix returns filename when no extension is present

    XMLWordPrintable

Details

    Description

      In ezp 4.1.2 (and lower, I don't know exactly), ezFile::suffix returns complete filename when there is no extension, i.e. path/to/filename returns filename and path/to/filename.ext returns ext as expected.
      This happens when browsing with webdav : some files have no extension and webdav has a buggy behaviour (http://issues.ez.no/IssueView.php?Id=15012&activeItem=2).

      You can find a patch in attachment. We just return an empty string to satisfy condition at kernel/private/classes/webdav/ezwebdavcontentbackend.php:1520 "if( !$string )"

      Attachments

        Activity

          People

            unknown unknown
            michaël todorovic michaël todorovic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: