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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec 14 04:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     vkomarov@yandex.ru
>Release:        1.3.22
>Organization:
apache
>Environment:
Binary distribution of Apache httpd from apache.org
Intel NT 5 0 2195 Service Pack 2 
>Description:
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.
>How-To-Repeat:
<!--#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:

Vladimir&amp;nbsp;Komarov
Vladimit &lt; &gt; Komarov
>Fix:
Add "nbsp" to entlist array in function decodehtml()
file: mod_include.c
line: 276
>Release-Note:
>Audit-Trail:
>Unformatted:
 [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!     ]
 
 


Mime
View raw message