Ticket #1257 (closed バグ指摘: 修正済)

Opened 11 years ago

Last modified 11 years ago

絶対パスかどうかのチェックが Windows 環境を考慮していない

Reported by: nanasess Owned by: nanasess
Priority: Milestone: EC-CUBE2.11.1
Component: その他 Version: 2.11.0
Keywords: Cc:
修正済み: yes

Description (last modified by nanasess) (diff)

以下のような構文で絶対パスかどうかをチェックしているが, Windows 環境ではドライブレターが渡ってくるため動作しない

if (substr($path, 0, 1) == '/') {


  • LC_Page.php (絶対パスかどうかの判別では使用していない)
  • LC_Page_Frontparts_Bloc.php
  • LC_Page_Admin_Design_Bloc.php

これにより r20830 でデグレードが発生

Change History

comment:1 Changed 11 years ago by nanasess

  • Description modified (diff)

comment:2 Changed 11 years ago by nanasess

  • 修正済み set

r20841 修正しました

comment:3 Changed 11 years ago by nanasess

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

comment:4 Changed 11 years ago by kajiwara

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


Note: See TracTickets for help on using tickets.