Small Filemanager Controller patch

some security issues
(no further reference mentioned here)