mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #15506] Invalid encoding in announce URL


From: Rafael Vuijk
Subject: [Mldonkey-bugs] [bug #15506] Invalid encoding in announce URL
Date: Mon, 20 Feb 2006 03:34:04 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Follow-up Comment #2, bug #15506 (project mldonkey):

I think the actual problem should be solved in the Url class. It should check
if the URL already contains "?" plus some parameters and act accordingly.
What I did is hack in bTClients.ml:
              ...
              let module H = Http_client in
              let url = (t.tracker_url ^ if not (Str.string_match (Str.regexp
"\\?") t.tracker_url 0) then "&" else "") in
              let r = {
              ...
This doesn't get rid of the "?" character the Url class is adding, but allows
the tracker to read the passkey parameter correctly.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15506>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]