https://bugzilla.novell.com/show_bug.cgi?id=486225
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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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)
[0x00000]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs