Index: potx.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.inc,v retrieving revision 1.1.2.17.2.7.2.19.2.11 diff -u -p -r1.1.2.17.2.7.2.19.2.11 potx.inc --- potx.inc 1 Feb 2010 16:07:23 -0000 1.1.2.17.2.7.2.19.2.11 +++ potx.inc 7 May 2010 16:27:04 -0000 @@ -1300,7 +1300,7 @@ function _potx_find_info_file_strings($f foreach (array('name', 'description', 'package') as $key) { if (isset($info[$key])) { // No context support for .info file strings. - $save_callback($info[$key], POTX_CONTEXT_NONE, $file_name); + $save_callback(addcslashes($info[$key], "\0..\37\\\""), POTX_CONTEXT_NONE, $file_name); } } @@ -1308,7 +1308,7 @@ function _potx_find_info_file_strings($f if (isset($info['regions']) && is_array($info['regions'])) { foreach ($info['regions'] as $region => $region_name) { // No context support for .info file strings. - $save_callback($region_name, POTX_CONTEXT_NONE, $file_name); + $save_callback(addcslashes($region_name, "\0..\37\\\""), POTX_CONTEXT_NONE, $file_name); } } }