From nobody@hyperreal.com Mon Jan 27 07:44:41 1997 Received: by taz.hyperreal.com (8.8.4/V2.0) id HAA07817; Mon, 27 Jan 1997 07:44:41 -0800 (PST) Message-Id: <199701271544.HAA07817@taz.hyperreal.com> Date: Mon, 27 Jan 1997 07:44:41 -0800 (PST) From: Onno Witvliet Reply-To: onno@tc.hsa.nl To: apbugs@hyperreal.com Subject: server loops when ImapBase is used X-Send-Pr-Version: 3.2 >Number: 130 >Category: mod_imap >Synopsis: server loops when ImapBase is used >Confidential: no >Severity: critical >Priority: medium >Responsible: marc >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 27 07:50:00 1997 >Last-Modified: Sun Feb 16 16:45:07 PST 1997 >Originator: onno@tc.hsa.nl >Organization: >Release: 1.2b6 >Environment: HP-UX 10.10 s700 and s800 >Description: When ImapeBase is used in the config-file, or base is used in the map-file, the process handling the request goes onto a loop, when the argument doesn't contain a '/' e.g. ImapBase foobar (server loops) ImapBase foobar/ (OK) >How-To-Repeat: Make a map-file containing: map foobar rect ../foo/bar.html 299,42 499,77 Click on the map and the process handling the request will loop >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: marc State-Changed-When: Mon Jan 27 20:52:44 PST 1997 State-Changed-Why: Problem replicated. Thanks for reporting it. Responsible-Changed-From-To: gnats-admin (GNATS administrator)-marc Responsible-Changed-By: marc Responsible-Changed-When: Mon Jan 27 20:52:44 PST 1997 Responsible-Changed-Why: I'll find a fix State-Changed-From-To: analyzed-closed State-Changed-By: marc State-Changed-When: Sun Feb 16 16:45:05 PST 1997 State-Changed-Why: The base directive should have a trailing '/' if it is a directory. The code has been fixed so if it does not, instead of an infinite loop it will give an error message. Much of the parsing code in mod_imap needs fixing; perhaps after 1.2. >Unformatted: