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

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 UTC