Issue Bug Rejected

#78793Since 6.2.29 filemounts don't show list of folders anymore

Tobias Schaefer 11/25/16, 11:44 updated 11/25/16, 13:10

Description

Hello,

since the recent update to 6.2.29 there is bug regarding filemounts.
If I try to edit a filemount the dropdown box with the list of folders is emtpy.
The error doesn’t occur with every filemount. It is depending on the selected storage (see screenshots).
With the update to 6.2.29 the function validPathStr in sysext/core/Classes/Utility/GeneralUtility.php was modified:
6.2.28: && !preg_match(‘#(?:^\\.\\.|/\\.\\./|[[:cntrl:]])#u’, $theFile);
6.2.29: && preg_match(‘#(?:^\\.\\.|/\\.\\./|[[:cntrl:]])#u’, $theFile) === 0;
If I change the code to how it looked like with 6.2.28 the error doesn’t occur.

Cheers,

Tobias

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.