[hobbit] http url problem
Henrik Stoerner
henrik at hswn.dk
Mon Jul 31 21:54:35 CEST 2006
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
More information about the Xymon
mailing list