prelude-correlator/master: Prevent double escape of context identifiers

[email protected] Fri, 5 Mar 2010 15:51:53 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit 2390952d41db673386c620d0fd8ce4720f0b89f6
Author: Yoann Vandoorselaere <[email protected]>
Date:   Fri Mar 5 15:39:18 2010 +0100

    Prevent double escape of context identifiers
    
    Prelude-Correlator wasn't properly updating context (and thus, didn't
    generate correlation events) since context identifiers were escaped
    twice.


========================================

 PreludeCorrelator/context.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

========================================

diff --git a/PreludeCorrelator/context.py b/PreludeCorrelator/context.py
index 6bc8f2f..f546900 100644
--- a/PreludeCorrelator/context.py
+++ b/PreludeCorrelator/context.py
@@ -107,8 +107,6 @@ class Context(IDMEF, Timer):
                         self.addAlertReference(idmef)
 
         def __new__(cls, name, options={}, overwrite=True, update=False, idmef=None):
-                name = getName(name)
-
                 if update or (overwrite is False):
                         ctx = search(name)
                         if ctx:
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-cvslog