Zend Framework

Examples incorrect

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.4
  • Fix Version/s: 1.9.0
  • Component/s: Zend_Filter
  • Labels:
    None

Description

22.2.14, has two examples of filter usage.

$filter = new Zend_Filter_RealPath();
$path = '/www/var/path/../../mypath';
$filtered = $filter->filter();

should actually read as:

$filter = new Zend_Filter_RealPath();
$path = '/www/var/path/../../mypath';
$filtered = $filter->filter($path);

Activity

Hide
Matthew Weier O'Phinney added a comment -

fixed in trunk, and will release with 1.9.0.

Show
Matthew Weier O'Phinney added a comment - fixed in trunk, and will release with 1.9.0.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: