U4-1391 - File name changes after upload

Created by Sara Cassinelli 04 Jan 2013, 19:14:08 Updated by Sara Cassinelli 16 Jan 2013, 18:25:04

Since we installed the latest version of Umbraco, we've noticed the CMS changes our document file names after uploading. We always use dashes to separate words in our file names, and when we upload the document in Umbraco, it changes the dashes to underscores. We update and replace files quite a bit, and need the URLS to stay same because they are either bookmarked by the public or are referenced within other documents. The underscores are breaking our links. Thank you!


Sebastiaan Janssen 07 Jan 2013, 09:13:50

Fixed in changeset b00fba346585

Sebastiaan Janssen 07 Jan 2013, 09:34:34

Just to clarify: we recently updated the code to catch more invalid characters in filenames. I mad that decision to cast them to underscores, but should've been dashes. So that has been changed now. Invalid characters are now: !*'();:@&=+$,/?%#[]-~"<>\^`| (and the last one is a space, which is where your problem came in)

Sara Cassinelli 16 Jan 2013, 18:25:04

Thank you!

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.0, 4.11.1

Due in version: 6.0.0, 4.11.2


Story Points: