ページへ戻る

− Links

 印刷 

Ver 3.55 -3.55.3 (Protector の誤判定回避とマルチドメイン対策など) :: XOOPS マニア

xpwiki:xpWiki開発日記/2008-01-16


Tag: protector[4] マルチドメイン[5] 付箋[6] プラグイン[7] 外部オートリンク[8] ini設定[9]
2008 1月 16 (水)
 
ページ内コンテンツ
  • Ver 3.55 -3.55.3 (Protector の誤判定回避とマルチドメイン対策など)
    • Protector モジュールの誤判定回避
    • マルチドメイン対策
    • その他
    • CVS 更新内容
  • 一行コメント

Ver 3.55 -3.55.3 (Protector の誤判定回避とマルチドメイン対策など) anchor.png[10] Edit [11]

Page Top

Protector モジュールの誤判定回避 anchor.png[12] Edit [13]

Protector モジュールを導入している場合に、ref で一度に画像を表示したり、付箋の位置短時間に頻繁に変更したりすると、DoSアタックや悪質なサイトクローラーと誤判定されることがありましたので、その対策を行いました。(thanks ringo :thumb_up: )

ただし、protector 3.02 以降でないと、効果がありません。

Page Top

マルチドメイン対策 anchor.png[15] Edit [16]

mainfile.php にて、動的に XOOPS_URL を書き換えて運用する場合の対策を行いました。(thanks naaon[17], 他(ゲスト))

Page Top

その他 anchor.png[19] Edit [20]

  • 付箋が貼られている場合、上部メニューに [ 付箋(1) ] などと表示するようにしました。
  • ページキャッシュデータ(グローバル変数)の復元が正常に行えないことがあったので、その修正を行いました。
  • 外部オートリンクの設定項目を追加しました。
    • a_target
      • <a>タグの target 属性
    • a_class
      • <a>タグの class 属性
    • pukiwiki[21].ini.php 設定例 (e-word)
       1
       2
       3
       4
       5
       6
       7
       8
       9
      10
      11
      12
      13
      14
      
      $root->ext_autolinks[] = array(
          'priority'=> 41 ,
          'url'   => 'http://xoops[22].hypweb.net/download/e-words.autolink.dat',
          'case_i'=> 1 ,              // Case insensitive
          'base'  => '' ,
          'len'   => 3 ,            // minimum length of page name
          'enc'   => 'UTF-8',
          'cache' => 10 ,            //
          'urldat'=> 1 ,            // url is autolink's data.
          'pat'   => 'http://e-words.jp/w/[EWORDS_ENCODE].html' ,    // Link pattern.
          'title' => 'e-Words: [KEY]',
          'a_target' => '_blank',
          'a_class' => 'ext_eword'
      );
Page Top

CVS 更新内容 anchor.png[23] Edit [24]

+  今回の更新分
  • 2008-01-16 23:56 nao-pon[25]
    • * xoops_version.php (1.277):
      • Version 3.55.3
  • 2008-01-16 23:55 nao-pon[25]
    • * class/func/xpwiki_func.php (1.133):
      • Corrected restoration of page cache data, again.
  • 2008-01-16 23:55 nao-pon[25]
  • 2008-01-16 22:21 nao-pon[25]
    • * xoops_version.php (1.276):
      • Version 3.55.2
  • 2008-01-16 22:21 nao-pon[25]
    • * plugin[26]/fusen.inc.php (1.8):
      • Corresponded to the site setting into which "XOOPS_URL" was dynamically changed.
  • 2008-01-16 17:00 nao-pon[25]
    • * xoops_version.php (1.275):
      • Version 3.55.1
  • 2008-01-16 16:59 nao-pon[25]
    • * class/func/xpwiki_func.php (1.132):
      • Corrected restoration of page cache data.
  • 2008-01-16 16:18 nao-pon[25]
    • * plugin[26]/fusen.inc.php (1.7):
      • Supported '#fusen(off)'.
  • 2008-01-16 16:18 nao-pon[25]
    • * gate.php (1.3):
      • Added 'ignore_user_abort(FALSE)'.
  • 2008-01-16 14:33 nao-pon[25]
    • * xoops_version.php (1.274):
      • Version 3.55
  • 2008-01-16 14:32 nao-pon[25]
    • * skin/: pukiwiki[21].skin.php (1.33), tdiary.skin.php (1.28):
      • The number of sheets of Fusen(Tag) displayed. If it is.
  • 2008-01-16 14:30 nao-pon[25]
  • 2008-01-16 14:28 nao-pon[25]
    • * plugin[26]/: attach.inc.php (1.32), ref.inc.php (1.22):
      • The gate.php used so that it was not misjudged to the protector module.
  • 2008-01-16 14:26 nao-pon[25]
    • * class/ext_autolink.php (1.20), ini/pukiwiki[21].ini.php (1.59):
      • Added configs 'a_target' and 'a_class' in root->ext_autolinks, these are <A>TAG attributes.
  • 2008-01-16 14:17 nao-pon[25]
    • * gate.php (1.2), ways/attach.php (1.1), ways/fusen.php (1.1), ways/ref.php (1.1):
      • Added three gateways, 'attach', 'fusen and 'ref'.'
  • 2008-01-16 14:15 nao-pon[25]
    • * loader.php (1.35):
      • Corresponded to the site setting into which "XOOPS_URL" was dynamically changed.
Page Top

一行コメント anchor.png[28] Edit [29]




Last-modified: 2008-01-17 (木) 21:32:47 (JST) (6737d) by nao-pon