Commit c0e12e55 authored by Nicolas Delaby's avatar Nicolas Delaby

2008-07-17 nicolas

Quote url_string parameter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22518 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b2c0db69
...@@ -75,6 +75,7 @@ for recipient in text.split(\',\'):\n ...@@ -75,6 +75,7 @@ for recipient in text.split(\',\'):\n
recipient = recipient[recipient.find(\'<\') + 1:]\n recipient = recipient[recipient.find(\'<\') + 1:]\n
recipient = recipient[:recipient.find(\'>\')]\n recipient = recipient[:recipient.find(\'>\')]\n
if recipient:\n if recipient:\n
recipient = \'"%s"\' % (recipient)\n
email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Person\')\n email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Person\')\n
if email is None:\n if email is None:\n
email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Organisation\')\n email = getResultValue(url_string=recipient, portal_type=\'Email\', parent_portal_type=\'Organisation\')\n
......
2008-07-17 nicolas
Quote url_string parameter
2008-07-15 yo 2008-07-15 yo
* Preserve whitespace in the text content of an event. * Preserve whitespace in the text content of an event.
......
284 288
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment