Creating file/attachment stores full path in __name__
Bug #341127 reported by
Paul Everitt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
High
|
Balazs Ree |
Bug Description
Files and attachments have a special rule that their "id" (__name__, the thing that showes up in the the URL) comes from the filename of the uploaded file.
However, at least on Windows under IE, this is resulting in the full path, e.g.:
/communities/
We need to use Python path splitting to just get the last part. This also applies to attachments.
Changed in karl3: | |
assignee: | nobody → ree |
importance: | Undecided → Medium |
milestone: | none → m5 |
Changed in karl3: | |
status: | New → Fix Committed |
Changed in karl3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Let's make this the High priority. It's breaking some of the browsing and downloading.