https://issues.apache.org/bugzilla/show_bug.cgi?id=54548
Bug ID: 54548
Summary: <!--#elif expr=... --> always reports 'Invalid
expression' error
Product: Apache httpd-2
Version: 2.4.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_include
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The following code doesn't work as expected:
<html>
<body>
<!--#set var="test_var" value="b"-->
<!--#if expr="v('test_var') == 'a'" -->
*if*
<!--#elif expr="v('test_var') == 'b'" -->
*elif*
<!--#else -->
*else*
<!--#endif -->
</body>
</html>
I've got
[an error occurred while processing this directive] *else*
and error message
Invalid expression "v('test_var') == 'b'"
in error.log instead of
*elif*
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]