-
-
src/Lunr/Gravity/Filesystem/PhysicalFilesystemAccessObject.php (Diff revision 4) I was wondering about mode here. This is really the most tricky thing about mkdir and while a sensible default is already good, I was wondering whether it makes sense to do input sanitizing on it as well. To avoid forwarding values like "0755" or '0755' or 755. What do you think?
Change Summary:
Checks the mode if it is an octal or an integer and further if it is a valid mode. Also rebased against updated master.
Diff: |
Revision 5 (+203 -1) |
---|
-
-
src/Lunr/Gravity/Filesystem/PhysicalFilesystemAccessObject.php (Diff revision 6) I remember our discussions, so I know why you are doing this, but the error message does not match. Of course the access mode can be a string
Change Summary:
Changes the logged message of the string access mode. Rebased against updated master
Diff: |
Revision 7 (+204 -1) |
---|
-
-
src/Lunr/Gravity/Filesystem/Tests/PhysicalFilesystemAccessObjectTest.php (Diff revision 7) Can you add the special cases here as well? Like 1777, 2777 and 4777