Modify

Opened 10 years ago

Closed 7 months ago

#12314 closed defect (fixed)

Can not display or modify subversion paths in Windows

Reported by: fengyc.work@… Owned by: Ryan J Ollos
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Hi,

This should be a bug in SvnAuthzAdminPlugin.

In admin_ui.py, a lot of urllib.pathname2url and urllib.url2pathname were invoked. This could work as excepted under linux. But the functions could not correctly handle svn paths under windows.

e.g.

    urllib.pathname2url(r'foo:/bar') would raise an error
    urllib.url2pathname(r'///foo:/bar') would be 'O:\\bar'

May be "pathname2url" "url2pathname" shoud be replaced with "quote" "unquote".

Thanks.

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Ryan J Ollos

Status: newaccepted

comment:2 Changed 10 years ago by Ryan J Ollos

Thank you for the report. I hope to release a new version of the plugin within a few weeks.

comment:3 Changed 7 months ago by Jun Omae

Resolution: fixed
Status: acceptedclosed

In 18641:

SvnAuthzAdminPlugin 1.0.1dev: fix fatal raising when non-ascii groups and paths used, and remove uses of pathname2url and url2pathname (closes #5484, #7871, #5302, #12314)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.