[Fusionforge-commits] r12707 - branches/Branch_5_1/src/plugins/wiki/common

Alain Peyrat aljeux at fusionforge.org
Fri Mar 11 19:12:32 CET 2011


Author: aljeux
Date: 2011-03-11 19:12:32 +0100 (Fri, 11 Mar 2011)
New Revision: 12707

Modified:
   branches/Branch_5_1/src/plugins/wiki/common/WikiPlugin.class.php
Log:
Fix encoding page in wiki plugin.

Modified: branches/Branch_5_1/src/plugins/wiki/common/WikiPlugin.class.php
===================================================================
--- branches/Branch_5_1/src/plugins/wiki/common/WikiPlugin.class.php	2011-03-11 18:12:12 UTC (rev 12706)
+++ branches/Branch_5_1/src/plugins/wiki/common/WikiPlugin.class.php	2011-03-11 18:12:32 UTC (rev 12707)
@@ -88,7 +88,7 @@
 						SEARCH__TYPE_IS_WIKI,
 						new WikiSearchEngine(SEARCH__TYPE_IS_WIKI,
 								'WikiHtmlSearchRenderer', 
-						_("This projects's wiki"), $group_id)
+						_("This project's wiki"), $group_id)
 					);
 				}
 			}
@@ -183,7 +183,7 @@
 						$arr['realname'] = $data['author'];
 						$arr['icon']=html_image("ic/wiki20g.png","20","20",array("alt"=>"Wiki"));
 						$arr['title'] = 'Wiki Page '.$arr['pagename'];
-						$arr['link'] = '/wiki/g/'.$group_name.'/'.urlencode($arr['pagename']);
+						$arr['link'] = '/wiki/g/'.$group_name.'/'.rawurlencode($arr['pagename']);
 						$arr['description']= $arr['title'];
 						$params['results'][] = $arr;
 					}




More information about the Fusionforge-commits mailing list