Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-1498

Error on non utf-8 filename with MongoGridFS::storeUpload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.11
    • Fix Version/s: None
    • Component/s: pecl-mongo
    • Labels:
      None
    • Environment:
      Gentoo Linux with PHP 5.5.22
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      When uploading a file with a non UTF-8 filename, the following error occured :
      Could not store file: non-utf8 string: Devis n°D2015-0007.pdf

      I tried to utf8_encode $_FILES['file']['name'] with no luck

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 9 weeks, 3 days ago
                Date of 1st Reply: