C H A P T E R 5
Command
set xml_well_formed
Command Reference
Description
Enables or disables the SA7150 's feature for the detection of
malformed XML data coming in via HTTP POST.
xml_well_formed normally works in parallel with the xml
command (see above), that is, it is automatically enabled for a
specified map when xml is enabled for that map, and automatically
disabled (for a specified map) when xml is disabled (for that map).
(Thus the only independent control options are to disable
xml_well_formed when xml is enabled and to re-enable it without
having disabled xml.)
xml_well_formed functions as follows:
If xml_well_formed is enabled, when malformed XML data is
•
found in an incoming request the SA7150 terminates the
connection and returns HTTP Error 403 to the client with the
message, "XML data is not well-formed."
If xml_well_formed is disabled, when malformed XML data is
•
found in an incoming request the default server is used.
Syntax:
HP SA7150> set xml_well_formed <mapID>
<enable | disable>
Where <mapID> is the identifier of the map for which you wish
to enable the xml-well-formed check.
Example:
HP SA7150> set xml_well_formed 1 disable
87