[Mono-bugs] [Bug 486225] New: cannot use URIs that end without /

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 17 17:30:26 EDT 2009


           Summary: cannot use URIs that end without /
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: MonoTorrent
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ajorgensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

The official python bttrack instance we have running on
anonsvn.mono-project.com uses http://anonsvn.mono-project.com:6969/announce as
it's announce URI.  If I try to use a URI like that using tsunami it changes
the URI to end with a /.  When I patched the sources to not do that I got the
following exception:

Unhandled Exception: System.ArgumentException: The prefix must end with '/'
  at System.Net.ListenerPrefix.CheckUri (System.String uri) [0x00000] 
  at System.Net.HttpListenerPrefixCollection.Add (System.String uriPrefix)
  at MonoTorrent.Tracker.Listeners.HttpListener.Start () [0x00000] 
  at Tsunami.TrackerHost.AddListener (System.Uri uri) [0x00000] 
  at Tsunami.MainClass.ParseArgs (System.String[] args, Tsunami.TrackerHost
host) [0x00000] 
  at Tsunami.MainClass.Main (System.String[] args) [0x00000] 

We cannot use tsunami as our tracker if it doesn't respond at the same URI as
the old tracker.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list