Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.9.2
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Filter
-
Labels:None
-
Fix Version Priority:Should Have
Description
I would like to suggest to add an enhancement to the current Zend_Filter_RealPath filter. PHP's function realpath will give you the absolute path from the provided path, however this does not work when a path does not exist. Realpath would then return false.
Allowing calculation of realpath() results when the input path does not exist, would be a good enhancement for the current implementation.
However, the developer should be able to turn this feature on/off, as I can imagine the need of having false returned when the path does not exist.
Assigned to Andries Seutens.