Opened 18 years ago

Closed 18 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: dev
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

Description

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

Change History (7)

comment:1 by mir@…, 18 years ago

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 by riklaunim@…, 18 years ago

http://www.fotosik.pl/showFullSize.php?id=eb8d36c721059258 - 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 by mir@…, 18 years ago

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 by Michael Radziej <mir@…>, 18 years ago

Keywords: reopen added

comment:5 by Adrian Holovaty, 18 years ago

Keywords: reopen removed
Resolution: invalid
Status: closedreopened

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

This ticket is related to #2282 and #1602

comment:7 by Michael Radziej <mir@…>, 18 years ago

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