21 Jul
2001
21 Jul
'01
10:47 p.m.
From: "Peter Bengtsson" <mail@peterbe.com>
Why do you think type() and urllib() are unauthorized for Python Scripts?
Because they weren't in DTML ;-) Seriously, I think the lack of urllib access was an oversight. The 'type' function, on the other hand, causes a security hole when used with ExtensionClasses. Fortunately, you can almost always use the same_type() function instead. Cheers, Evan @ digicool & 4-am