From: Joey Hess Date: Thu, 25 Oct 2007 10:20:32 +0000 (-0400) Subject: use nulls to avoid ambiguities X-Git-Tag: 2.11~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2697ac99cf3bbc65f2183e07f688c1d93e2047f0;p=ikiwiki.git use nulls to avoid ambiguities --- diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 3d1458081..bb160ac4d 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -155,7 +155,7 @@ sub preprocess_inline (@) { #{{{ my $feednum=""; - my $feedid=join(",", map { "$_=$params{$_}" } sort keys %params); + my $feedid=join("\0", map { $_."\0".$params{$_} } sort keys %params); if (exists $knownfeeds{$feedid}) { $feednum=$knownfeeds{$feedid}; }