Changeset 342 for trunk/sandbox/jhb/oc2

Show
Ignore:
Timestamp:
12/07/11 16:00:58 (6 months ago)
Author:
ocjhb
Message:

trying to prevent some evil posts

Location:
trunk/sandbox/jhb/oc2
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/sandbox/jhb/oc2/demoissuer.py

    r339 r342  
    44 
    55#where can this server be reached? 
    6 baseurl = 'http://localhost' 
     6baseurl = 'http://10.42.43.1' 
    77#what port to run on? 
    88port = 9090 
  • trunk/sandbox/jhb/oc2/testutils.py

    r341 r342  
    1010        #print self.server 
    1111        if self.path == '/stop': 
    12             raise 'foobar' 
     12            raise 'foobar'             
    1313        length = self.headers.get('Content-Length') 
    1414        data = self.rfile.read(int(length)) 
    1515        data = urllib.unquote(data) 
     16        if not data.startswith('['): 
     17            return 
    1618        message = transports.createMessage(data) 
    1719        if message.header == 'AskLatestCDD':