[mapserver-commits] [mapserver/mapserver] 105877: WFS/OWS: fix absence of XML escaping in GetCapabil...

GitHub noreply at github.com
Fri Apr 15 09:14:06 PDT 2016


  Branch: refs/heads/branch-7-0
  Home:   https://github.com/mapserver/mapserver
  Commit: 105877468590e99401d234e1bbac13d7645b77d0
      https://github.com/mapserver/mapserver/commit/105877468590e99401d234e1bbac13d7645b77d0
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M maplibxml2.c
    M mapogcsos.c
    M mapowscommon.c
    M mapwfs11.c
    M mapwfs20.c
    A msautotest/wxs/expected/wfs10_test_xml_escaping.xml
    A msautotest/wxs/expected/wfs11_test_xml_escaping.xml
    A msautotest/wxs/expected/wfs20_test_xml_escaping.xml
    A msautotest/wxs/expected/wms111_test_xml_escaping.xml
    A msautotest/wxs/expected/wms130_test_xml_escaping.xml
    A msautotest/wxs/ows_test_xml_escaping.map

  Log Message:
  -----------
  WFS/OWS: fix absence of XML escaping in GetCapabilities response

We improperly use xmlNewChild() instead of xmlNewTextChild(). The
form expects the value to be already XML-escaped, while the later
do the escaping.

Fix issue reported on
https://lists.osgeo.org/pipermail/mapserver-users/2016-April/078832.html




More information about the mapserver-commits mailing list