httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject mod_include if expr parsing
Date Sat, 04 May 2002 04:52:14 GMT

-------------------------------------------------------------
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8462

<!--#elif expr="($SERVER_PORT = 443) && ($p_ssl = 1)" -->
produces a "Unmatched '('" error which is wrong.
-------------------------------------------------------------

This looks like a legitimate bug, though from looking through the CVS
history I don't really think this code changed much between 1.3 and 2.0,
so I can't really see how it worked in 1.3.  You get the error message
after the parse tree has been generated and then you go to walk the tree
and it encounters a ( it didn't expect.  The parse tree that gets
generated doesn't look totally kosher (in particular, some of the ->parent
pointers seem wrong).  Is anyone especially familiar with this code?

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA




Mime
View raw message