Development

Changeset 7426

You must first sign up to be able to contribute.

Changeset 7426

Show
Ignore:
Timestamp:
02/08/08 23:55:47 (10 months ago)
Author:
dwhittle
Message:

1.1: fixed escaping for sfPatternRouting with magic_quotes enables, closes #1801

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/routing/sfPatternRouting.class.php

    r7363 r7426  
    557557            } 
    558558            parse_str($found, $pass); 
     559 
     560            if (get_magic_quotes_gpc()) 
     561            { 
     562              $pass = sfToolkit::stripslashesDeep((array) $pass); 
     563            } 
     564 
    559565            foreach ($pass as $key => $value) 
    560566            {