summaryrefslogtreecommitdiff
path: root/InternetSecure.pm
diff options
context:
space:
mode:
authorfbriere <fbriere>2006-02-17 03:26:33 +0000
committerfbriere <fbriere>2006-02-17 03:26:33 +0000
commita9053abd282a2c574bb03833db29b39ed5cac14b (patch)
tree491c86a1e9c0da4d5554a70ef9ce6330acc9e02e /InternetSecure.pm
parent5974a88df6f696ff765f0467b64c15bb80206caf (diff)
Have to_xml() already encode its output, and switch to numeric entities
Diffstat (limited to 'InternetSecure.pm')
-rwxr-xr-xInternetSecure.pm13
1 files changed, 6 insertions, 7 deletions
diff --git a/InternetSecure.pm b/InternetSecure.pm
index 0dd4d2a..dec9ee9 100755
--- a/InternetSecure.pm
+++ b/InternetSecure.pm
@@ -213,10 +213,11 @@ sub to_xml {
}
xml_out(\%data,
- NoAttr => 1,
- RootName => 'TranxRequest',
- SuppressEmpty => undef,
- XMLDecl => '<?xml version="1.0" encoding="utf-8" standalone="yes"?>',
+ NoAttr => 1,
+ NumericEscape => 2,
+ RootName => 'TranxRequest',
+ SuppressEmpty => undef,
+ XMLDecl => '<?xml version="1.0" encoding="utf-8" standalone="yes"?>',
);
}
@@ -286,9 +287,7 @@ sub submit {
undef,
make_form(
xxxRequestMode => 'X',
- xxxRequestData => Encode::encode_utf8(
- $self->to_xml
- ),
+ xxxRequestData => $self->to_xml,
)
);