steffen: server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/iCalendar iCalendar.php, 1.3, 1.4

cvs at intevation.de cvs at intevation.de
Tue Nov 16 02:45:26 CET 2004


Author: steffen

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/iCalendar
In directory doto:/tmp/cvs-serv27771/kolab-resource-handlers/fbview/fbview/framework/iCalendar

Modified Files:
	iCalendar.php 
Log Message:
Fix for Issue529 (ical \-quoting)

Index: iCalendar.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/fbview/fbview/framework/iCalendar/iCalendar.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- iCalendar.php	26 Oct 2004 13:44:21 -0000	1.3
+++ iCalendar.php	16 Nov 2004 01:45:24 -0000	1.4
@@ -306,8 +306,11 @@
 
                 switch ($tag) {
                 case 'DESCRIPTION':
+		case 'SUMMARY':
+		case 'LOCATION':
                     $value = preg_replace('/\\\\,/', ',', $value);
                     $value = preg_replace('/\\\\n/', $this->_newline, $value);
+                    $value = preg_replace('/\\\\\\\\/', '\\\\', $value);
                     $this->setAttribute($tag, $value, $params);
                     break;
 





More information about the commits mailing list