Opened 13 years ago

Closed 13 years ago

#3309 closed defect (duplicate)

prepopulate_from JS helper script passes some non latin-1/ascii chars

Reported by: anonymous Owned by: Adrian Holovaty
Component: contrib.admin Version: master
Severity: minor Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The prepopulate_from JavaScript passes some Polish special chars: ź ń ł to the slug (it doesn't pass others like ą ś).

Change History (7)

comment:1 Changed 13 years ago by mir@…

Resolution: invalid
Status: newclosed

Sorry, but I really can't figure out what you mean.

Can you please explain in details and reopen? A good way to explain a bug is to describe:

  • what you did and how to reconstruct the problem
  • what the actual and expected results are
  • and how they differ?

comment:2 Changed 13 years ago by riklaunim@… - the łźń in the Slug field should not be passed from Title. All Polish special chars should be stripped or changed to ascii base letters like ą -> a, ź -> z, ł -> l, ć -> c and so on.

comment:3 Changed 13 years ago by mir@…

Triage Stage: UnreviewedAccepted

Thanks, now I see. I wasn't so familar with the admin functionality, sorry. There's clearly an inconsistency between the JavaScript script and django.template.defaultfilters.urlify().

I keep this on my watchlist and will reopen it as soon as Jacob has revived the reopen button.

comment:4 Changed 13 years ago by Michael Radziej <mir@…>

Keywords: reopen added

comment:5 Changed 13 years ago by Adrian Holovaty

Keywords: reopen removed
Resolution: invalid
Status: closedreopened

comment:6 Changed 13 years ago by Petar Marić <petar.maric@…>

This ticket is related to #2282 and #1602

comment:7 Changed 13 years ago by Michael Radziej <mir@…>

Resolution: duplicate
Status: reopenedclosed

This is the same problem as #2282, only that #2282 discusses other possible solutions. #2282 has more comments and has been discussed more, so I close this ticket as duplicate.

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