Fix the mime/type and content of the XML sent to ITransact.

This commit is contained in:
Colin Kuskie 2009-01-29 23:24:53 +00:00
parent df7de822ff
commit 2f599812f4
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
- fixed #9375: Syndicated Content asset improperly decodes wide XML entities
- fixed #9592: DataForm deleteAttachedFiles method can crash
- fixed #9580: Gallery: albums shown in navigation
- fixed #9578: Use of "quotes" in badge name causes error
7.6.10
- fixed #9577: WebGUI::Form::Url::getValue returns blank rather than undef for blank fields

View file

@ -424,8 +424,8 @@ sub doXmlRequest {
# Create a request and stuff the xml in it
my $request = HTTP::Request->new( POST => $xmlTransactionScript );
$request->content_type( 'application/x-www-form-urlencoded' );
$request->content( 'xml='.$xml );
$request->content_type( 'text/xml' );
$request->content( $xml );
# Do the request
my $response = $userAgent->request($request);