yawd-elfinder icon indicating copy to clipboard operation
yawd-elfinder copied to clipboard

'acceptedName' : r'.odt dont work for me,

Open 124bit opened this issue 11 years ago • 1 comments

'acceptedName' : r'.odt dont work for me after setting this i am able to select even picture

124bit avatar Apr 15 '13 20:04 124bit

Are you trying to allow only files whose name ends with odt? Then I expect something like

r'^[^.].*.odt$'

should work, as the setting expects a regular expression. The first part is to ensure that files do not start with '.', you can omit this if you like. But if you really want to allow only odt files, you could also try the 'onlyMimes' settings instead of 'acceptedName'.

I'm sorry I don't have the time to dig further today; I have also seen the other issue you opened and promise I will look into both of them in detail this week! :) Looking forward to your feedback on this issue

ghost avatar Apr 15 '13 22:04 ghost