www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Komarov <vkoma...@yandex.ru>
Subject mod_include/9121: Cannot use &nbsp; in variables
Date Fri, 14 Dec 2001 12:29:02 GMT

>Number:         9121
>Category:       mod_include
>Synopsis:       Cannot use &nbsp; in variables
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec 14 04:30:00 PST 2001
>Originator:     vkomarov@yandex.ru
>Release:        1.3.22
Binary distribution of Apache httpd from apache.org
Intel NT 5 0 2195 Service Pack 2 
The command "echo" changes & to &amp; in environment variables. So, i cannot write
text such as "Vladimir&nbsp;Komarov" with "echo" command. Nevertheless, symbols such as
&lt; &gt; &agrave; etc. are printed correctly.
<!--#set var="wrong" value="Vladimir&nbsp;Komarov"-->
<!--#set var="right" value="Vladimir &lt; &gt; Komarov"-->
<!--#echo var="wrong"-->
<!--#echo var="right"-->

The result will be:

Vladimit &lt; &gt; Komarov
Add "nbsp" to entlist array in function decodehtml()
file: mod_include.c
line: 276
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message