Opened 16 years ago
Closed 15 years ago
#4333 closed defect (fixed)
upload file name did not change to target file
Reported by: | Owned by: | Radek Bartoň | |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The File field in the "list of available downloads" is not changed to the path of the server side, but still of the client side.
Attachments (0)
Change History (7)
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|
comment:2 Changed 16 years ago by
i've the same problem with version for Trac 0.10.
You have to change the last line of api.py from
return file.file, unicode_unquote(file.filename), size
to
return file.file, unicode_unquote(filename), size
comment:3 Changed 16 years ago by
Ah yes, such an obvious mistake. Thank you for debugging it. I'll commit fix with next changeset. Unfortunatelly this doesn't apply for 0.11 and 0.12 brach because there is this handled correctly so I'm confused if this ticket shouldn't be labeled with 0.10 Trac Release?
comment:4 Changed 16 years ago by
Can anyone with access to IE try and comment if this is an issue with Trac 0.11 and 0.11 branch of the plugin, please?
comment:6 Changed 15 years ago by
Replying to liuwld@gmail.com:
The File field in the "list of available downloads" is not changed to the path of the server side, but still of the client side.
alskdjflskfj
comment:7 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I suppose this is already fixed.
The file field should contain only base name of the file. I assume you are using IE which is causing this kind of problems, right? Could you post me debug log from upload, please?