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

avoid usage of tmpfile() calls in code

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

    Description

      There is at least one call to tmpfile() to generate temporary files in the current code, in eZ\Publish\Core\IO\IOService.

      This makes it hard to set by configuration the file folder to be used for temp. files (it is probably possible via an env var, but being able to set it via yml would be easier).
      Some sysadmins are adamant that apps should not use the systewide shared temp folder, for security.

      Using tempnam() is probably a better choice

      Attachments

        Activity

          People

            bertrand.dunogier@ibexa.co Bertrand Dunogier
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: