Ticket #1309 (closed 改善提案: 修正済)

Opened 10 years ago

Last modified 9 years ago

ADMIN_ALLOW_HOSTS が空文字や未定義の場合にエラーとならないようにする

Reported by: Seasoft Owned by: Seasoft
Priority: Milestone: EC-CUBE2.11.2
Component: 管理画面 Version: 2.11.1
Keywords: Cc:
修正済み: yes

Description (last modified by Seasoft) (diff)

未定義としてシリアライズ文字列の空配列を要求するのは、難解な印象がある。

実際にフォーラムでもカジュアルエラーによる問い合わせがあった。

また、unserialize の戻り値の false が要素数1の配列として評価される実装に曖昧さを感じた。

r20928

Change History

comment:1 Changed 10 years ago by Seasoft

  • Owner changed from somebody to Seasoft
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Seasoft

  • Status changed from assigned to new

comment:3 Changed 10 years ago by Seasoft

  • Status changed from new to assigned
  • 修正済み set
  • Description modified (diff)

comment:4 Changed 10 years ago by Seasoft

  • Description modified (diff)

comment:5 Changed 9 years ago by kajiwara

  • Status changed from assigned to closed
  • Resolution set to 修正済

Seasoftさん

本件、ありがとうございました。

Note: See TracTickets for help on using tickets.