Uploaded files: Extra spaces and commas removed from dashboard links
Running Contour 3.0.19 on Umbraco 6.1.6:
A form allows users to upload files. If they upload a file with multiple spaces, e.g. My file.pdf, it gets linked from the dashboard as My%20file.pdf instead of My%20%20file.pdf, but is saved as the latter on disk, so the dashboard link is a 404.
Same think for My, file.pdf which gets saved correctly to disk, but linked from the dashboard as My%20file.pdf, i.e. the comma is stripped.
Where and how can this be fixed? Contour doesn't allow any validation on file upload fields, so it would be best if the dashboard links pointed correctly to the uploaded files.
Uploaded files: Extra spaces and commas removed from dashboard links
Running Contour 3.0.19 on Umbraco 6.1.6:
A form allows users to upload files. If they upload a file with multiple spaces, e.g.
My file.pdf
, it gets linked from the dashboard asMy%20file.pdf
instead ofMy%20%20file.pdf
, but is saved as the latter on disk, so the dashboard link is a 404.Same think for
My, file.pdf
which gets saved correctly to disk, but linked from the dashboard asMy%20file.pdf
, i.e. the comma is stripped.Where and how can this be fixed? Contour doesn't allow any validation on file upload fields, so it would be best if the dashboard links pointed correctly to the uploaded files.
is working on a reply...