Opened 7 years ago

Closed 6 years ago

upload file name did not change to target file

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.

comment:1 Changed 7 years ago by Blackhex

• Status changed from new to assigned

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?

comment:2 Changed 7 years ago by ttressieres

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 7 years ago by Blackhex

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 7 years ago by Blackhex

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:5 Changed 7 years ago by Blackhex

Fix for 0.10 branch is in repository.

comment:6 in reply to: ↑ description Changed 7 years ago by anonymous

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 6 years ago by Blackhex

• Resolution set to fixed
• Status changed from assigned to closed

I suppose this is already fixed.

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.