Code

bugfix: gosa-si-server: incoming_db can handle can handle all kind of msgs
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 10:54:17 +0000 (10:54 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 10:54:17 +0000 (10:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11168 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 7a652eb60fb5a4bd8c68b5c5a28af6d275c5dd4a..94f8c6098dd433bf8e57075aa987bd4f89382bf8 100755 (executable)
@@ -1130,7 +1130,7 @@ sub msg_to_decrypt {
                     primkey=>[],
                     headertag=>$header,
                     targettag=>$target,
-                    xmlmessage=>$msg,
+                    xmlmessage=>&encode_base64($msg),
                     timestamp=>&get_time,
                     module=>$module,
                     sessionid=>$session_id,
@@ -1264,7 +1264,7 @@ sub process_task {
     my $client_answer = "";
 
     # prepare all variables needed to process message
-    my $msg = $task->{'xmlmessage'};
+    my $msg = &decode_base64($task->{'xmlmessage'});
     my $incoming_id = $task->{'id'};
     my $module = $task->{'module'};
     my $header =  $task->{'headertag'};