Xymon Mailing List Archive search

http url problem

list Henrik Størner
Mon, 31 Jul 2006 21:54:35 +0200
Message-Id: <user-3e4c257b5869@xymon.invalid>

On Mon, Jul 31, 2006 at 06:50:19PM +0200, Nicolas wrote:
It doesn t like the "%3a" strings.
Apparently not. OK, so this will require a code change. For a 
quick fix, you can edit the lib/url.c file in your Hobbit source.
Around line 560-570 or so you'll see these lines:

        if (poststart) getescapestring(poststart, &bburl->postdata, NULL);
        if (expstart)  getescapestring(expstart, &bburl->expdata, NULL);

        p = strstr(urlstart, "/http");	 <--- find this line
        if (p) {
                proxystart = urlstart;
                urlstart = (p+1);
                *p = '\0';
        }

        parse_url(urlstart, bburl->desturl);

Replace the line I've marked with

        p = NULL;

That will simply disable the proxy url function, and your original URL
should work as intended.


Regards,
Henrik