Permalink
Browse files

fix stack trace spew caused by some routers' UPnP implementations

  • Loading branch information...
1 parent 759aa69 commit 5ee3172bb24820b5fd9458450eefe10da28c7bfe @forrestv forrestv committed Feb 10, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 SOAPpy/Parser.py
View
@@ -1050,6 +1050,8 @@ def _parseSOAP(xml_str, rules = None):
# turn on namespace mangeling
parser.setFeature(xml.sax.handler.feature_namespaces,1)
+ parser.setFeature(xml.sax.handler.feature_external_ges, 0)
+
try:
parser.parse(inpsrc)
except xml.sax.SAXParseException, e:

0 comments on commit 5ee3172

Please sign in to comment.