Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#6092 closed defect (wontfix)

When try to rename a page with utf-8 character, urllib.quote throw a KeyError

Reported by: Olivier ANDRE Owned by: Noah Kantrowitz
Priority: normal Component: WikiRenamePlugin
Severity: normal Keywords: urllib, quote, UTF-8
Cc: Trac Release: 0.11


it's a know problem with urllib.quote.

To avoid this you can add

    """correction for utf8 name """
    if isinstance(oldname, unicode):
       oldname = oldname.encode("utf-8")
    if isinstance(newname, unicode):
       newname = newname.encode("utf-8")

in the begining of the rename_page function, in file (Ligne 25)

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by anonymous

Keywords: UTF-8 added; utf-8 removed

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

The plugin is deprecated since there is now support in the Trac core.

comment:3 Changed 5 years ago by Ryan J Ollos

If you'd like to apply patches I can provide you commit access.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.