Problem/Motivation
Psy Shell v0.7.0 (PHP 7.0.7 — cli) by Justin Hileman
>>> sys_get_temp_dir()
=> "/var/tmp/"
This made working on #2791163: Random automatic testing failures on SQLite with PHP 5.5 tricky.
Proposed resolution
Do a trim in file_directory_os_temp() to ensure consistency.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2794207-2.patch | 546 bytes | alexpott |
Comments
Comment #2
alexpottI tried to add a test but you can't call ini_set on
upload_tmp_dirso it is just not possible.Comment #3
daffie commentedLooks good to me.
I do not see how we can add testing for this. We do not know when the trailing directory separator will be added.
For me this is RTBC.
Comment #7
catchCommitted/pushed to all three 8.x branches, thanks!