Thanks for reporting!
The patch which fixes this bug is in attachement.
Trevor Phillips wrote:
>
> UdmSearch version: 3.1.12
> Platform: Dell 2400 (Dual PIII 667, 1Gig RAM)
> OS: Debian Linux 2.1 (Kernel 2.2.19)
> Database:
> Statistics:
>
> We have a Gartner database that has hundreds of URLs referenced internally as
>relative URLs starting with \"./\". ie; something like \"./../../research/etc...\".
>
> mnoGoSearch seems to treat that first single period as a double period. ie; it
>reports a broken link pointing to a URL which is one directory higher than it should
>be. Clicking on these links from all browsers I\'ve tried works fine.
>
> ___________________________________________
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
Index: parseurl.c
===================================================================
RCS file: /usr/src/CVS/mnogosearch/src/parseurl.c,v
retrieving revision 1.3
diff -u -r1.3 parseurl.c
--- parseurl.c 2001/04/21 12:55:05 1.3
+++ parseurl.c 2001/05/28 11:09:44
@@ -146,8 +146,6 @@
/* Cat an anchor if exist */
if((anchor=strstr(url->path,"#")))*anchor=0;
- UdmRemove2Dot(url->path);
-
/* If path is not full just copy it to filename */
/* i.e. neither /usr/local/ nor c:/windows/temp/ */
@@ -178,6 +176,8 @@
/* Restore query_string to filename*/
strcat(url->filename,query_string);
+
+ UdmRemove2Dot(url->path);
return(0);
}