Project

General

Profile

Actions

Bug(バグ) #116

closed

管理画面のメンバー検索フォームで static メソッドが -> で呼び出されている

Added by Shinichi Urabe about 15 years ago. Updated about 15 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2009-10-23
Due date:
% Done:

100%

Estimated time:
3.6 で発生するか:
3.8 で発生するか:

Description

問題の箇所

  • lib/form/searchForm/opMemberProfileSearchForm.class.php
29     $this->disableCSRFProtection();

呼び出し元

  • lib/vendor/symfony/lib/form/sfForm.class.php
 873   /**
 874    * Disables CSRF protection for all forms.
 875    */
 876   static public function disableCSRFProtection()
 877   {
 878     self::$CSRFProtection = false;
 879   }

発生する問題

  • phpではエラーがでている
  • 同じアクションに別のフォームを作成したときにデフォルトで CSRF トークンが発行されない

対処方法

  • コンストラクタで CSRF を無効にする
Actions #1

Updated by Shinichi Urabe about 15 years ago

  • Target version set to OpenPNE 3.1.5
Actions #2

Updated by Shinichi Urabe about 15 years ago

  • Status changed from New(新規) to Accepted(着手)
Actions #3

Updated by Shinichi Urabe about 15 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)

更新履歴commit:"bb6a0a9794cd6ab8b5bf50d7dc832a21e97156b9"で適用されました。

Actions #4

Updated by Shinichi Urabe about 15 years ago

更新履歴commit:"5cb4bf64b116c733ffa3104d05044efed1aab23a"で適用されました。

Actions #5

Updated by Shinichi Urabe about 15 years ago

  • % Done changed from 0 to 90
Actions #6

Updated by Kousuke Ebihara about 15 years ago

  • Status changed from Pending Review(レビュー待ち) to Fixed(完了)
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF