You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
yaml_writer: the parent directory is created without condition, a stream wrapper path fails #368
YamlWriterTask (yaml_writer) now creates the parent directory of file_path without condition:
with a stream wrapper that does not support mkdir() (compress.zlib:///tmp/out.yaml.gz, and the same for remote wrappers such as s3://), the task fails with Directory "compress.zlib:///tmp" was not created, while the file was written in 5.4.1;
with php://stdout (or php://output, php://memory), the file is written but a php: directory is created in the current directory.
The CHANGELOG says "as for the other writers", but CsvFile and JsonStreamFile exclude the php:// streams.
Fix: create the parent directory only for a local path (no scheme, or file://).
Found during the audit after the 5.5 release (audit-v4-post-release.md#215).
Activity
Merge pull request #375 from cleverage/368