Skip to content

Commit

Permalink
[#1584] Don't lowercase names of uploaded files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Mar 6, 2014
1 parent 23babe6 commit 985b351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/munge.py
Expand Up @@ -107,7 +107,7 @@ def munge_tag(tag):

def munge_filename(filename):
filename = substitute_ascii_equivalents(filename)
filename = filename.lower().strip()
filename = filename.strip()
filename = re.sub(r'[^a-zA-Z0-9. ]', '', filename).replace(' ', '-')
filename = _munge_to_length(filename, 3, 100)
return filename
Expand Down

0 comments on commit 985b351

Please sign in to comment.