Work around bug #17687
[Business-OnlinePayment-InternetSecure.git] / InternetSecure.pm
index dec9ee9..f4e68da 100755 (executable)
@@ -239,6 +239,8 @@ sub parse_response {
        my ($self, $response) = @_;
 
        $self->server_response($response);
+
+       local $/ = "\n";  # Make sure to avoid bug #17687
        
        $response = xml_in($response,
                        ForceArray => [qw(product flag)],