W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1998

Bomb in linemode browser if rule file is given in interactive mode.

From: Joseph Janos <JJANOS@us.oracle.com>
Date: 20 Jan 98 10:09:54 -0800
Message-Id: <199801201820.KAA00491@mailsun2.us.oracle.com>
To: www-lib-bugs@w3.org, www-lib@w3.org, www-lib@w3.org, www-lib-bugs@w3.org
Platform: NT/4.0 Server, patch level 3, VC++/5.0
WWW Library: 5.1e

If on the command line a rule file is given (-r <file>), then the mainline
calls 

HTLoadRules(rules)

This, in turn, creates a new request object and using it tries to load 
the rule file. The request object is passed along through several layers.

Eventually in www.c line 606 we try to get confirmation from the user.
For this we do:
pView = LineMode_getView(Context_getLineMode(pRequest));

As the request object is NOT the one created in the mainline (which is
properly 
hooked up with the LineMode object, which in turn is properly hooked up with

the View), this call bombs.

I don't know what would be the "right" fix for this problem. Defining
HT_AUTOMATIC_RULES in config.h helps (no confirmation dialog is attempted),
but it seems to be too drastic (and needs to recompile everything.)

Thanks,
Joseph Janos
Received on Tuesday, 20 January 1998 13:11:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT