Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Okkels Brendstrup 101 posts 197 karma points
    Mar 02, 2015 @ 10:16
    Dan Okkels Brendstrup
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft