Ticket #305 (closed Bug: fixed)

Opened 4 years ago

Last modified 3 years ago

Init breaks on php 5.2.4 or above due to malfunctioning of realpath

Reported by: Jyothirmayee Owned by:
Priority: major Milestone: RobotRock
Component: Core Keywords: php5 compatibility, realpath
Cc: Sensitive:

Description

OS: Mac OSX 10.5.3 php: 5.2.5

Seems like the behavior of realpath is changed post 5.2.4 by the Suhosin to avoid possible exploitations on some platforms.

Real path returns true if the file doesn;t exist. Will have to check for file existence before calling realpath. Reference:  http://in.php.net/manual/en/function.realpath.php#82770

Change History

Changed 4 years ago by matt

  • milestone set to RobotRock

Changed 4 years ago by matt

Please try latest SVN and report if it is now working (see the diff on [574])

Changed 3 years ago by matt

  • status changed from new to closed
  • resolution set to fixed

Closing (no feedback reported).

Note: See TracTickets for help on using tickets.