FLUID-3389: use UUID for temporary file directories

Metadata

Source
FLUID-3389
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Laurel Williams
Reporter
Laurel Williams
Created
2009-11-25T10:52:20.000-0500
Updated
2009-12-02T13:37:15.000-0500
Versions
N/A
Fixed Versions
  1. 1.2
Component
  1. Infusion Builder

Description

Currently temporary files are stored in a directory named after the user's sessionid. This value is not unique. There is a risk that a user could start another build and overwrite files in a tmp directory before a build is complete. Instead, use a UUID. This can be obtained either from a php extension or from mysql.

Comments

  • Laurel Williams commented 2009-11-25T10:58:18.000-0500

    changed from using session_id for temp directory names to using a UUID retrieved from Mysql.