Skip to content
Permalink
Browse files

[d3pipes.plugin] bugfix about multi byte values of base page

d3pipes の内部情報取得用パイプのプラグインで base page に、英字以外の値を設定できない問題の修正。
  • Loading branch information
nao-pon committed Sep 8, 2013
1 parent b1d9513 commit a3eff0dfa56dd861ba110337f9ef374b33061c35
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/xpwiki/include/d3pipes.inc.php
@@ -62,7 +62,7 @@ function renderOptions( $index , $current_value = null )
$ret_0 .= '</select>' ;

// options[1] (base page)
$options[1] = preg_replace( '/[^0-9a-zA-Z_-]/' , '' , @$options[1] ) ;
$options[1] = htmlspecialchars( @$options[1] , ENT_QUOTES, _CHARSET) ;
$ret_1 = 'Base page'.'<input type="text" name="joint_options['.$index.'][1]" value="'.$options[1].'" size="15" />' ;

// options[2] (max_entries)

0 comments on commit a3eff0d

Please sign in to comment.
You can’t perform that action at this time.