Topic: Filename length restriction and special character restriction
Is there any way to restrict an upload based on the length of the filename and/or if the filename has any special characters?
I know I can deal with this server side and truncate the filename and even remove special characters, but I would rather not do that because it could remove parts of the filename that are important to the uploader. I would prefer to let them decide how to shorten the name or remove special characters to make it more meaningful to them.
I am storing the filename in a database and don't want it to be too long, I am also using it as part of the url when I serve the file up to the browser when they go to download it and some special characters break the url.