[Tickets #7801] Re: sprintf warning when saving page
bugs at horde.org
bugs at horde.org
Tue Dec 23 22:33:56 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7801
------------------------------------------------------------------------------
Ticket | 7801
Updated By | lfbm.andamentos at gmail.com
Summary | sprintf warning when saving page
Queue | Wicked
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
lfbm.andamentos at gmail.com (2008-12-23 17:33) wrote:
I've filed a bug report against the PEAR package:
http://pear.php.net/bugs/bug.php?id=15385
A temporary workaround would be to change line 134 of Wikilink.php to:
$href = sprintf(substr_replace($href, ereg_replace("%",
"%%",substr($href, strpos($href, '%')+1)),strpos($href,
'%')+1),$this->urlEncode($page));
This will cause every % sign after the first one to be escaped (%%).
More information about the bugs
mailing list