Closed
Description
Hi,
In the FileSystem component the x+
mode is used to create a temporary file. This is sadly not supported by Google App Engine. GAE only supports these modes: r, rb, rt, w, wb, wt. (https://cloud.google.com/appengine/docs/php/googlestorage/advanced#php_filesystem_functions_support_on_google_cloud_storage)
The line in question:
Could this perhaps be changed in the component? I understand the use of the x+
mode here is to prevent a TOCTOU vulnerability, but I need to change this to get symfony working in GAE.
I have a 'fix' (Adding gs
to this line