Permalink
Browse files

on encode64 les donnees par precaution

  • Loading branch information...
Cerdic committed Jan 18, 2018
1 parent ba36d6a commit c2f3e0aa775a97409202afc2a11943c1065c7933
Showing with 2 additions and 2 deletions.
  1. +2 −2 presta/sipsv2/inc/sipsv2.php
@@ -94,8 +94,8 @@ function sipsv2_form_hidden($config,$parms){
$data[] = "keyVersion=".$key_version;
$h['Data'] = implode('|', $data);
//$h['Encode'] = 'base64';
//$h['Data'] = base64_encode($h['Data']);
$h['Encode'] = 'base64';
$h['Data'] = base64_encode($h['Data']);
$h['InterfaceVersion'] = 'HP_2.16';
$h = sipsv2_signe_contexte($h, $secret_key);

0 comments on commit c2f3e0a

Please sign in to comment.