77184b2f98f8895924c62e13a1aa307e52d32b99,volttron/platform/web/csr_endpoints.py,CSREndpoints,_csr_request_new,#CSREndpoints#Any#Any#,50

Before Change


            request_data = data.copy()

        csr = request_data.get("csr")
        identity = self._certs.get_csr_common_name(str(csr))

        // The identity must start with the current instances name or it is a failure.
        if not identity.startswith(get_platform_instance_name() + "."):

After Change


                json_response["message"] = "An unkonwn error has occured during the respons phase"

        try:
            if json_response["cert"]:
                json_response["cert"] = json_response["cert"].decode("utf-8")
            response = Response(jsonapi.dumps(json_response),
                     content_type="application/json",
                     headers={"Content-type": "application/json"})
        except BaseException as e:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: VOLTTRON/volttron
Commit Name: 77184b2f98f8895924c62e13a1aa307e52d32b99
Time: 2019-12-31
Author: chandrika@pnnl.gov
File Name: volttron/platform/web/csr_endpoints.py
Class Name: CSREndpoints
Method Name: _csr_request_new


Project Name: pyinstaller/pyinstaller
Commit Name: db4d8172f7d3a353a4ab049d5bf87f713d6dffe2
Time: 2015-09-17
Author: codewarrior@hawaii.rr.com
File Name: PyInstaller/utils/hooks/hookutils.py
Class Name:
Method Name: get_homebrew_path


Project Name: pyinstaller/pyinstaller
Commit Name: db4d8172f7d3a353a4ab049d5bf87f713d6dffe2
Time: 2015-09-17
Author: codewarrior@hawaii.rr.com
File Name: PyInstaller/utils/hooks/hookutils.py
Class Name:
Method Name: get_qmake_path


Project Name: oddt/oddt
Commit Name: 0623212baaccb938e19891a50cca58b33b339f9c
Time: 2017-08-09
Author: maciek@wojcikowski.pl
File Name: oddt/__init__.py
Class Name:
Method Name: get_version