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: Sat, 25 Feb 2006 16:35:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

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

*** mldonkey/src/utils/lib/url.ml       19 Aug 2004 07:56:55 -0000      1.5
--- mldonkey/src/utils/lib/url.ml       25 Feb 2006 16:33:50 -0000
***************
*** 161,167 ****
    if args = [] then s else
    let res = Buffer.create 256 in
    Buffer.add_string res s;
!   Buffer.add_char res '?';
    let rec manage_args = function
      | [] -> assert false
      | [a, ""] ->
--- 161,167 ----
    if args = [] then s else
    let res = Buffer.create 256 in
    Buffer.add_string res s;
!   Buffer.add_char res (if String.contains s '?' then '&' else '?');
    let rec manage_args = function
      | [] -> assert false
      | [a, ""] ->
***************


    _______________________________________________________

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]