the forums at degreez.net

It is currently Thu Mar 28, 2024 6:12 pm

All times are UTC - 7 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Mon Jan 10, 2005 12:48 am 
Offline

Joined: Sat Oct 30, 2004 8:05 pm
Posts: 49
Noticed a tracker the other day that had a few torrents with a leading space in the announce url. BitTornado wouldn't connect to them because urlparse doesn't detect them as "http" urls. The BitTorrent 3.4.2, however, connects just fine.

Chaning line 18 in zurllib.py from:
Code:
        self._open(url)

to:
Code:
        self._open(url.strip())


Gives the same behavior as the official client and is slightly more forgiving if there were erroneous trailing or leading spaces.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group