You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by John Rowe <ro...@excc.ex.ac.uk> on 2005/01/24 18:30:03 UTC

mod include behaviour

Can somebody confirm this is a deliberate feature? If I write:

<!--#set var="crumbs" value="<a href='/'>Home</a>  &gt; " -->
<!--#echo encoding='none' var='crumbs' -->

The '&gt;' gets sent to the client as a literal '>', which means that
I need to write:

<!--#set var="crumbs" value="<a href='/'>Home</a>  &amp;gt; " -->

The reason for this seems to be the '1' as the final call to
ap_ssi_get_tag_and_value in handle_set in mod_include.c

This isn't what I expect from the docs and it seems an extremely
strange thing for a _server_ to be doing. At the least it should be
documented (and maybe made optional?)

John