Comment 3 for bug 662493

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote : Re: [TRUNK and 5.0]report engine is not taking correctly string pýthon functions

Nhomar, on trunk (6.0) the evaluation of the python code inside the RML brackets ([[ ]]) has changed to make it safer.
Now there is a method called "safe_eval()" that will evaluate that code but allowing just some operations considered "safe".
Any operation not defined on the safe_eval trusted list, won't be available on the RML.

I think that somebody just forgot to add the list indexing/copy methods into the safe list (There were a lot of small bugs like this when safe_eval was put into place).