Skip to content

Commit

Permalink
Fixed bug parsing & in config options, and BGP AS neighbors to be rep…
Browse files Browse the repository at this point in the history
…orted as ASs only.
  • Loading branch information
smicallef committed Mar 16, 2015
1 parent cbc109b commit a45e8cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sfp_ir.py
Expand Up @@ -269,7 +269,7 @@ def handleEvent(self, event):
ownertext = ownertext + k + ": " + ', '.join(v) + "\n"

if len(ownerinfo) > 0:
evt = SpiderFootEvent("BGP_AS_PEER", ownertext,
evt = SpiderFootEvent("BGP_AS_PEER", nasn,
self.__name__, event)
self.notifyListeners(evt)

Expand Down
2 changes: 2 additions & 0 deletions sfwebui.py
Expand Up @@ -65,6 +65,8 @@ def cleanUserInput(self, inputList):
for item in inputList:
c = cgi.escape(item, True)
c = c.replace('\'', '"')
# We don't actually want & translated to &
c = c.replace("&", "&")
ret.append(c)

return ret
Expand Down

0 comments on commit a45e8cc

Please sign in to comment.