Menu

Glitch when & present in dn in magne...

Help
zigozag
2010-04-03
2013-04-30
  • zigozag

    zigozag - 2010-04-03

    Hi,

    I remarked that if the dn parameter of magnet links includes the & character, the & itself and all the following part are dropped from the file name, including the file extension, when the link is given to Sharelin-0.1.8 running on Ubuntu Karmic amd64.  For instance, let's consider
    magnet:?xt=urn:sha1:J7QIPCUMXYM5Q2EE67VGY32E3IUHB2CU&xt=urn:tree:tiger:V3TX4B7VY5J5RNL5Q6BLDU7FCJISRYBP7ZZ4RZA&xt=urn:ed2k:2d2ca09a1ce36cd2a139d9170a9c1921&xl=3087834&dn=Acts_of_the_Apostles_&_I_like_it.pdf
    for which I added "_&_I_like_it" to the file name. For Sharelin, the file name will be displayed as "Acts_of_the_Apostles_" instead of "Acts_of_the_Apostles_&_I_like_it.pdf".

    This doesn't occur with eDonkey links, for example
    ed2k://|file|Acts_of_the_Apostles_&_I_like_it.pdf|3087834|2d2ca09a1ce36cd2a139d9170a9c1921|/ works fine.

    Of course this really is not a big deal, but I just wanted to report it in case it would be useful in some way.

     
  • Cyko_01

    Cyko_01 - 2010-07-20

    if I am not mistaken that character should be encoded as

    &
    
     

Log in to post a comment.