~mikel-martin/openobject-addons/extra-5.0

Viewing all changes in revision 4909.

  • Committer: mikel
  • Date: 2011-05-26 19:03:59 UTC
  • Revision ID: mikel@pcl2-20110526190359-hcx2jpyy60klifou
[fix] When editing "import expresion" using the web client the new lines in the estring are converted to \r\n what ends in an error when it comes to evaluate the string using the "exec" function. To avoid this we sanitize the string before passing it to the exec fucntion.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: