Opened 12 years ago

Closed 12 years ago

#672 closed defect (fixed)

WR plugin fails to rename attachment dir if the name contains escaped chars

Reported by: bernd.tegge@… Owned by: Noah Kantrowitz
Priority: low Component: WikiRenamePlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10


I accidentally created a wiki page whose name contained a comma 'People/Juergen,'. The rename failed to rename the attachment dir, because the comma in the dir name is escaped 'People/Juergen%2C'. It did rename

Trac Version: 0.10b1, however the the project was recently upgraded from 0.9.4, were that page had been created.

Traceback (most recent call last):

File "/usr/local/lib/python2.4/site-packages/trac/web/", line 335, in dispatch_request


File "/usr/local/lib/python2.4/site-packages/trac/web/", line 220, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/local/lib/python2.4/site-packages/TracWebAdmin-0.1.2dev_r3370-py2.4.egg/webadmin/", line 109, in process_request


File "build/bdist.linux-i686/egg/wikirename/", line 48, in process_admin_request File "build/bdist.linux-i686/egg/wikirename/", line 47, in rename_page File "/usr/lib/python2.4/", line 201, in renames

rename(old, new)

OSError: [Errno 2] No such file or directory

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [1543]) Correctly handle funny characters in page names when renaming. (fixes #672)

Modify Ticket

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

Add Comment

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

Note: See TracTickets for help on using tickets.