{file}_uri and {file}_filename length limitations

Created on 20 November 2007, about 17 years ago
Updated 24 January 2023, almost 2 years 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 about 3 hours 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