From: <var...@us...> - 2009-01-21 10:43:25
|
Revision: 6426 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6426&view=rev Author: vargenau Date: 2009-01-21 10:43:22 +0000 (Wed, 21 Jan 2009) Log Message: ----------- Remove gzcompress because of single quote bug Modified Paths: -------------- trunk/lib/CachedMarkup.php Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2009-01-21 10:32:50 UTC (rev 6425) +++ trunk/lib/CachedMarkup.php 2009-01-21 10:43:22 UTC (rev 6426) @@ -36,8 +36,12 @@ } function pack() { - if (function_exists('gzcompress')) - return gzcompress(serialize($this), 9); + // This causes a strange bug when a comment containing + // a single quote is entered in the Summary box: + // - the history is wrong (user and comment missing) + // - the table of contents plugin no longer works + // if (function_exists('gzcompress')) + // return gzcompress(serialize($this), 9); return serialize($this); // FIXME: probably should implement some sort of "compression" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |