quote params correctly for HLR SIM export, #21514,
authorMark Wells <mark@freeside.biz>
Mon, 29 Apr 2013 23:09:17 +0000 (16:09 -0700)
committerMark Wells <mark@freeside.biz>
Mon, 29 Apr 2013 23:10:14 +0000 (16:10 -0700)
FS/FS/part_export/huawei_hlr.pm

index 0079818..41cbbfb 100644 (file)
@@ -314,8 +314,8 @@ sub import_sim {
     # push IMSI/KI to the HLR
     my $return = $self->command($socket,
       @command,
-      'IMSI', $imsi,
-      'KIVALUE', $ki,
+      'IMSI', qq{"$imsi"},
+      'KIVALUE', qq{"$ki"},
       @args
     );
     if ( $return->{success} ) {