[Tickets #9405] Re: 100% cpu for apache when exporting vcard 3.0

bugs at horde.org bugs at horde.org
Fri Jun 3 07:12:29 UTC 2011


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/9405
------------------------------------------------------------------------------
  Ticket           | 9405
  Aktualisiert Von | shop2007 at public.linkpool.de
  Zusammenfassung  | 100% cpu for apache when exporting vcard 3.0
  Warteschlange    | Turba
  Version          | Git master
  Typ              | Bug
  Status           | Assigned
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       | Horde Developers, Jan Schneider, Michael Slusarz
------------------------------------------------------------------------------


shop2007 at public.linkpool.de (2011-06-03 07:12) hat geschrieben:

My solution would be

share/php/Horde/Icalendar.php
function _exportvData

OLD:
------
if (!$this->oldFormat) {
         $attr_string = Horde_String::wordwrap($attr_string, 75,  
$this->_newline . ' ', true, true);
  }

New:
------
if (!$this->oldFormat) {
     if ($name === "PHOTO"){
         $attr_string  = chunk_split ($attr_string, 75, $this->_newline);
     }else{
         $attr_string = Horde_String::wordwrap($attr_string, 75,  
$this->_newline . ' ', true, true);
     }
}

This works for me!

Question:
Is there a limitation (filesize) of the images from Horde / SyncML?

Images up to 200x200px are working. Images with more than 400x400px  
won't be synced.







More information about the bugs mailing list