Opened 7 years ago

Closed 7 years ago

#5591 closed defect (duplicate)

"IOError Bad Path:" on Windows

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


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:

* = rw

trac.ini authz_module_name = MyRepository

example that does work:

* = rw

trac.ini authz_module_name = R

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by ThurnerRupert

could you attach a patch please?

comment:2 Changed 7 years ago by ThurnerRupert

  • Resolution set to duplicate
  • Status changed from new to closed

see solution in #5302.

Add Comment

Modify Ticket

as closed The owner will remain kisg.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.