intruxxer / zaproxy

Automatically exported from code.google.com/p/zaproxy
0 stars 0 forks source link

Change the generate_root_ca property to a function in the Python API #572

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As far as I can tell, this method does not return a value so it should not be a 
property. This appears to Python as a statement that has no effect.

Expected:

    def generate_root_ca(self):
        self.zap._request(self.zap.base + 'core/action/generateRootCA/')

Actual:

    @property
    def generate_root_ca(self):
        return self.zap._request(self.zap.base + 'core/action/generateRootCA/').get('generate_root_ca')

Original issue reported on code.google.com by dave.h...@gmail.com on 26 Mar 2013 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by THC...@gmail.com on 9 Feb 2014 at 4:20

GoogleCodeExporter commented 9 years ago
r4509

Original comment by THC...@gmail.com on 28 Mar 2014 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by psii...@gmail.com on 31 Mar 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Fixed in ZAP 2.3.0

Original comment by psii...@gmail.com on 10 Apr 2014 at 3:25