Development

Changeset 8386

You must first sign up to be able to contribute.

Changeset 8386

Show
Ignore:
Timestamp:
04/10/08 16:16:35 (1 year ago)
Author:
fabien
Message:

fixed Yaml parsing of alias names too strict (closes #3300)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/yaml/sfYamlParser.class.php

    r8181 r8386  
    108108          } 
    109109        } 
    110         else if (isset($values['value']) && preg_match('#^&(?P<ref>\w+) *(?P<value>.*)#', $values['value'], $matches)) 
     110        else if (isset($values['value']) && preg_match('#^&(?P<ref>\.+) *(?P<value>.*)#', $values['value'], $matches)) 
    111111        { 
    112112          $isRef = $matches['ref']; 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.