| > Ouch, too hard !
> I needed to finish this download for tomorrow night.
> Em.... So wait'n'see...
The fix will be merged "soon" - you can pply it using the
commandline version:
--- htstools.c.orig Wed Sep 25 07:24:47 2002
+++ htstools.c Wed Sep 25 07:22:59 2002
@@ -130,8 +130,9 @@
if (*lien!='/') { // sinon c'est un lien absolu
a=strchr(origin_fil,'?');
if (!a) a=origin_fil+strlen(origin_fil);
+ if (*lien != '?') /* filename exists */
while((*a!='/') && ( a > origin_fil) ) a--;
- if (*a=='/') { // ok on a un '/'
+ if (*a=='/' || *lien == '?') { // ok on a un '/'
if ( (((int) (a - origin_fil))+1+strlen(lien)) <
HTS_URLMAXSIZE) {
// copier chemin
strncpy(fil,origin_fil,((int) (a - origin_fil))
+1);
| |