Edgewall Software

Opened 15 years ago

Closed 15 years ago

#8202 closed defect (invalid)

IOError: Bad path: test1:/

Reported by: laurencechang Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

While doing a POST operation on /admin/subversion/svnauthz/editpath////T|//, Trac issued an internal error.

When authz_module_name surpasses one character,Add Path will has ths error.

Request parameters:

{'__FORM_TOKEN': u'8d6e2076a71130933a93fd92',
 'addpath': u' Add ',
 'cat_id': u'subversion',
 'panel_id': u'svnauthz',
 'path': u'/',
 'path_info': u'editpath////T|//'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-TW; rv: Gecko/2009032609 Firefox/3.0.8

System Information

Trac 0.11.4
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.6.11
pysqlite 2.5.5
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.6 (r36142)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "D:\AppServ\Python\Lib\site-packages\trac\web\main.py", line 435, in _dispatch_request
  File "D:\AppServ\Python\Lib\site-packages\trac\web\main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "D:\AppServ\Python\Lib\site-packages\trac\admin\web_ui.py", line 113, in process_request
  File "d:\appserv\python\lib\site-packages\svnauthzadminplugin-0.1.2._moved.to.trac.0.11_-py2.5.egg\svnauthz\admin_ui.py", line 87, in render_admin_panel
    path_disp_url = pathname2url("%s:%s" % (repository, path))
  File "D:\AppServ\Python\lib\nturl2path.py", line 55, in pathname2url
    raise IOError, error
IOError: Bad path: test1:/

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 15 years ago

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.