Hello!


Thanks for the patch! I have applied it for 3.1.4 sources.



Joerg Zanger wrote:
> 
> Hi,
> 
> my website makes use of URL's like
> 
>      http://website/dir/index.jsp?content=foo/bar.html
> 
> The result of a request like the one above is  text/html containing
> relative URL's like
> 
>      <a href="foo/foobar.html">foo</a>
> 
> When udmsearch tries to index foo/foobar.html it constructs the
> absolute URL of the document badly resulting in a query to
> 
>      http://website/dir/index.jsp?content=foo/foo/foobar.html
> 
> This happens because a '/' is encountered in the query-part of
> the original URL - which should *not* be considered the path of
> the URL (cf src/parseurl.c). The appended patch gets rid of
> that problem by temporarily removing the query-portion of
> the file-part while parsing path/file-parts.
> 
> The patched version constructs the correct document-url
> 
>      http://website/dir/foo/foobar.html
> 
> Any comment is appreciated.

-- 
Alexander Barkov
IZHCOM, Izhevsk
email:    [EMAIL PROTECTED]      | http://www.izhcom.ru
Phone:    +7 (3412) 51-32-11 | Fax: +7 (3412) 78-70-10
ICQ:      7748759
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to