Modify

Opened 15 years ago

Closed 15 years ago

#5591 closed defect (duplicate)

"IOError Bad Path:" on Windows

Reported by: richardconway Owned by: Kis Gergely
Priority: normal Component: SvnAuthzAdminPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

The pathname2url python function that is used in this plugin causes issues on windows platforms as the windows implementation of pathname2url has a check in the code to ensure the bit before the : character is only 1 character long (as its expecting a OS file system path like c:\windows\system32). If the SVN repository name is greater than 1 character long this error occure.

example that doesnt work:

[MyRepository:/]
* = rw

trac.ini authz_module_name = MyRepository

example that does work:

[R:/]
* = rw

trac.ini authz_module_name = R

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by rupert thurner

could you attach a patch please?

comment:2 Changed 15 years ago by rupert thurner

Resolution: duplicate
Status: newclosed

see solution in #5302.

Modify Ticket

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