{file}_uri and {file}_filename length limitations

Created on 20 November 2007, almost 17 years ago
Updated 24 January 2023, over 1 year ago

during file uploads, string length of a file's destination path($file->filepath) is not checked. only filename(basename) is validated. since filepath is stored as varchar(255), it needs to be validated or have more db storage space. i dont know which way is the best but filepath validation will eliminate the need for basename validation.

🐛 Bug report
Status

Closed: outdated

Version

9.5

Component
File system 

Last updated 1 day ago

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024