You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com
Seems completely obvious that it should, but I searched the source code, and I can't find one reference to eval(). How is that possible? Just curious.
Randy Crews
unread,
Jun 13, 2013, 9:58:19 AM6/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com, aaronc...@gmail.com
I can't speak for the authors but my assumption would be that it is not there because eval() can introduce opportunities for injection, is less readable, makes debugging difficult and some sites even block the eval() function from executing which could cause problems as well. I have read blogs as well where eval() causes code to execute slower when used for string evaluation over code evaluation. As I said I am taking a guess as why it may not be used so I may be completely wrong.
-cheers
rpn
unread,
Jun 13, 2013, 10:13:57 AM6/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com, aaronc...@gmail.com
Wow. That's great. I never knew such a thing existed, and it makes perfect sense now. Does anyone know how this method compares to straight eval()? Is it more secure? More efficient?
Michael Best
unread,
Jun 13, 2013, 3:38:50 PM6/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com, aaronc...@gmail.com
Here's some info on the topic.
Michael Best
unread,
Jun 13, 2013, 3:39:00 PM6/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message