Code

Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#11888 closed (worksforme)

Unable to render file name with special chars (non-ascii)

Reported by: rjc Owned by: nobody
Component: contrib.admin Version: 1.1
Severity: Keywords: file unicode
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: UI/UX:

Description

File field render in admin doesn't support non-ascii. It doesn't even render the anchor, given no error.

Attachments (1)

t11888_r11366.patch (766 bytes) - added by rjc 5 years ago.
patch against v1.1 (r11366)

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by rjc

patch against v1.1 (r11366)

comment:1 Changed 4 years ago by jacob

  • milestone set to 1.2
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by kmtracey

  • Needs tests set

comment:3 Changed 4 years ago by kmtracey

  • Resolution set to worksforme
  • Status changed from new to closed

I can't recreate a problem here. Using trunk r12678 I:

Created an object in admin. The object has a file field, and I specified a file named 'unicode汉汉.txt' for upload during creation.

Selected "Save and continue editing". Admin presented the edit page for the newly-created object. The file field widget then includes a link to the current file, which I can click and then be taken to a new page showing the file contents.

This happened to be on Apache/mod_wsgi. I need more details of the failing case to understand what the reported problem here might be.

comment:4 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


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

 
Note: See TracTickets for help on using tickets.