From: Stuart G. <st...@sm...> - 2001-02-27 09:42:49
|
On Tuesday 27 February 2001 08:49 am, you wrote: > On Tuesday 27 February 2001 03:24 am, you wrote: > > Here is the line from mh/lib/http_server.pl: > > > > my $msg = "The Web RUN command not found: $get_arg.\n"; > > > > The most useful debug will be what url you clicked on and this errata > > (after setting debug to http): > > > > print "Web data requested: get=$get_req arg=$get_arg\n > > header=$header\n" if $main::config_parms{debug} eq 'http'; > I have sorted the Konquerer bug, and I hope eliminated any occurance of it with other browsers too. The problem was caused by Konquerer sending the params in an unexpected order, ie sending the x & y co-ords before the command, rather than at the end. The line that stripped the x=12&y=16 out of the command was this (on line ~220 of http_server.pl): $get_arg =~ s/\&x=\d+\&y=\d+$//; which wouldn't match $get_arg = 'x=8&y=20&select_cmd=Set_debug_to_http'. It was expecting a & at the beginning and it was also expecting the whole pattern to be at the end of the string. I changed the regexp to this: $get_arg =~ s/&?x=\d+&y=\d+&?//; So it will handle the x & y co-ords wherever they appear in the params. It works with Konquerer & also works with IE5.5 on Win98. -- ,,, (o o) ===========================oOO==(_)==OOo============================== Stuart Grimshaw www.schoolsnet.com sg...@sc... Special Projects Developer t: 07976 625221 Schoolsnet LTD .oooO Oooo. f: 0870 7060260 ===========================( )==( )=============================== \ ( ) / \_) (_/ |