Changeset 261ea44 in github
- Timestamp:
- Feb 17, 2011 4:51:26 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 4d982d3
- Parents:
- c5dedd7
- File:
-
- 1 edited
-
program/include/rcube_imap_generic.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_imap_generic.php
rab0b51a1 r261ea44 3322 3322 preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5B\x5C\x5D\x7F]+)/', $string) 3323 3323 ) { 3324 return '"' . strtr($string, array('"'=>'\\"', '\\' => '\\\\')) . '"';3324 return '"' . addcslashes($string, '\\"') . '"'; 3325 3325 } 3326 3326 … … 3331 3331 static function unEscape($string) 3332 3332 { 3333 return str tr($string, array('\\"'=>'"', '\\\\' => '\\'));3333 return stripslashes($string); 3334 3334 } 3335 3335
Note: See TracChangeset
for help on using the changeset viewer.
