Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8793 closed (duplicate)

using the file.url can not download the uploaded file

Reported by: etng Owned by: nobody
Component: File uploads/storage Version: dev
Severity: Keywords: normcase path
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when I digg into the source code,I found that in line 47 of django.db.models.fields.files,the call to self.storage.path(self.name) returns a os.path.normpath processed file path, it changes the file's full path to all lower case, but the url is not following this change, so this error happens!

sorry, I can not submit a good patch for it,but I think it will resolved by you gurus.

thank you

Change History (2)

comment:1 by Jacob, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #8593.

comment:2 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top