reparam mangles dictionaries it gets

Bug #162085 reported by Aaron Swartz on 2007-11-11
2
Affects Status Importance Assigned to Milestone
web.py
High
Anand Chitipothu

Bug Description

reparam runs the `dictionary` parameter it gets thru eval which adds __builtins__ to it. Instea,d it should make a copy, so as not to muck with the dictionary of the caller. A patch is to add this line to the top of web.db.reparam:

dictionary = dictionary.copy()

Aaron Swartz (aaronsw) on 2007-11-11
Changed in webpy:
assignee: nobody → anandology
importance: Undecided → High
status: New → Confirmed
Changed in webpy:
milestone: none → 0.23
status: Confirmed → Fix Committed
Changed in webpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers