omeka-s-modules / FileSideload

GNU General Public License v3.0
2 stars 3 forks source link

Fixed issue in item/add when no path is set. #23

Closed Daniel-KM closed 2 years ago

jimsafley commented 2 years ago

What issue does this fix? As far as I can tell, the module works fine when no path is set. realpath() just defaults to the current directory when null is passed as the path.

Daniel-KM commented 2 years ago

I don't remember the issue, but if it returns the current directory, it's a security issue.