>Number: 4696 >Category: mod_include >Synopsis: HTML entities being mangled in <!--#set --> >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jul 5 11:40:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.1 >Environment: SunOS nhse2.cs.rice.edu 5.6 Generic_105181-03 sun4m sparc SUNW,SPARCstation-5 >Description: I'm getting wierdness out of mod_include, but maybe just because I don't know what I'm doing. Here's my problem.
<!--#set var="SUB1" value="News & Events" --> <!--#echo var="SUB1" --> The result is: News & Events Also, when I test <!--#elif expr="${SUB1} = News & Events" --> I get false. Am I using some reserved characters I don't know about? I didn't see anything in the mod_include manual, or on the Apache bugs database. >How-To-Repeat: <!--#set var="SUB1" value="News & Events" --> <!--#echo var="SUB1" --> The result is: News & Events Also, when I test <!--#elif expr="${SUB1} = News & Events" --> I get false. >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]