Publisher doesn't process nested callable objects returned from a top level callable object properly. -----------------------------------------------------------------------------------------------------
Key: MODPYTHON-237 URL: https://issues.apache.org/jira/browse/MODPYTHON-237 Project: mod_python Issue Type: Bug Components: publisher Affects Versions: 3.3.1, 3.2.10 Reporter: Graham Dumpleton As discussed in thread: http://www.modpython.org/pipermail/mod_python/2007-June/023910.html the publish_object() function in mod_python.publisher, tries to invoke callable objects returned from a callable object. This doesn't always work as the rule set in place and applied on at the top level to restrict what types of objects can be accessed isn't applied. Need to work out whether it should even been recursive calling callable objects, or only provided string representation of any thing returned by the top level callable object. FWIW, publisher in Vampire always only returns a string representation of object returned by top level callable. The code also has other problems if one were to allow returned callable to be recursive called, as doesn't make use of req.form properly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.