[Tickets #12377] Re: activesync wbxml content begint with two 0x0a

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Jun 21 05:43:47 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12377
------------------------------------------------------------------------------
  Ticket             | 12377
  Updated By         | l.kiraly at madalbal.hu
  Summary            | activesync wbxml content begint with two 0x0a
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


l.kiraly at madalbal.hu (2013-06-21 05:43) wrote:

I extended the test script to:

<?php

require_once('lib/Application.php');

    $conf['cookie']['path'] = '/Microsoft-Server-ActiveSync';
     $serverType = 'ActiveSync';
     $nocompress = true;
     $session_control = 'none';
     $cache_control = 'private';

Horde_Registry::appInit('horde', array(
     'authentication' => 'none',
     'nocompress' => $nocompress,
     'session_control' => $session_control,
     'session_cache_limiter' => $cache_control
));

header('Content-Length: 451');
header('Content-Type: application/vnd.ms-sync.wbxml');
echo file_get_contents('/tmp/ob_data.txt');

?>

-------------------------

Now I can reproduce this bug in my system. If I uncomment the  
Horde_Registry::appInit stuff, the wbxml content is good. If I use  
Horde_Registry::appInit then I get ONE extra linefeed in the beginning  
of the wbxml content.





More information about the bugs mailing list