diff options
author | Davanum Srinivas <dims@linux.vnet.ibm.com> | 2013-02-20 11:06:21 -0500 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-26 16:08:15 +0000 |
commit | 14df42b15fabc70472bb23264cf73acf4bfbe83d (patch) | |
tree | 28e3f4cd9498a9720fa3ab91a891be5553526edb /nova/wsgi.py | |
parent | 2e771b103276884b18f9d3326279a29c1aba1919 (diff) | |
download | nova-14df42b15fabc70472bb23264cf73acf4bfbe83d.tar.gz nova-14df42b15fabc70472bb23264cf73acf4bfbe83d.tar.xz nova-14df42b15fabc70472bb23264cf73acf4bfbe83d.zip |
Additional tests for safe parsing with minidom
For nova, forbid_dtd is going to be true always, however
if someone picks up this code and tries forbid_dtd = False
then the existing code is not good enough. we need to protect
against external entities/dtd and not allow notations as well.
Added a few more handlers and test cases to cover that use
case.
Change-Id: If50f690e015f2bf837b403edf552e35d7af8c907
Diffstat (limited to 'nova/wsgi.py')
0 files changed, 0 insertions, 0 deletions