Some announcers/sites use (illegal?) metods with an
announce url that doesn't end in a ? / NULL like
'/announce.php' but instead have something like
'announce.php?passkey=foobar'. Ctorrent results in
getting invalid passkey on these. The patch below
"fixes" it.
--- httpencode.cpp.orig Tue Dec 14 00:47:06 2004
+++ httpencode.cpp Tue Dec 14 00:50:09 2004
@@ -88,7 +88,7 @@
/* path */
if( *p != '/' ) return -1;
- for( ; *p && *p != '?'; p++,path++) *path = *p;
+ for( ; *p; p++,path++) *path = *p;
*path = '\0';
return 0;
}
Logged In: NO
can we get this included in the source ?
Logged In: NO
it works!!!:D thx