[Mapserver-users] HTML characters in template

Steve Lime steve.lime@dnr.state.mn.us
Thu, 09 Jan 2003 10:09:07 -0600


Yup, but I'm not sure it fixes your problem. The _esc replacement is
basically there so you could escape data for inclusion in other URLs.
Special characters are replaced with their hexidecimal ascii codes so a
space becomes %20 and so on. I think what you want is html escapes and
we'd need to add that, probably as another substitution qualifier:

  [variable_html] or something like that

Thoughts?

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Berend Veldkamp <berend.veldkamp@aris.nl> 01/09/03 07:08AM >>>
Ah yes, I see it now in the documentation. That's since version 3.6,
right?

Berend

Michael Schulz wrote:
> 
> Hi,
> 
> i think most template commands have an escaped version, just append
> _esc:
> e.g. [post or get variable name_esc]
> 
> HTH, Michael
> 
> Berend Veldkamp schrieb:
> 
> > I noticed MS doesn't encode special characters in query templates,
> > i.e. when [ITEMNAME] contains >, it should be replaced by &gt;
> > Comments?
> >
> > Berend

--
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users