85a54974ed058adb5de46998e0cec1810239e4cf,w3af/plugins/audit/file_upload.py,file_upload,_find_files_by_parsing,#file_upload#,137

Before Change


        :param mutant_response: The HTTP response associated with the file upload
        :return: None
        
        try:
            doc_parser = parser_cache.dpc.get_document_parser_for(mutant_response)
        except BaseFrameworkException:
            // Failed to find a suitable parser for the document
            return

        parsed_refs, re_refs = doc_parser.get_references()

        all_references = parsed_refs
        all_references.extend(re_refs)

After Change


        parser_references = self._get_references_from_parser(mutant_response)
        re_references = self._get_references_regex(mutant, mutant_response)

        all_references = set()
        all_references.update(parser_references)
        all_references.update(re_references)

        to_verify = set()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: andresriancho/w3af
Commit Name: 85a54974ed058adb5de46998e0cec1810239e4cf
Time: 2019-11-28
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/file_upload.py
Class Name: file_upload
Method Name: _find_files_by_parsing


Project Name: CamDavidsonPilon/lifelines
Commit Name: b649cc365040d9cd63631c763d1c485dfe981399
Time: 2020-05-11
Author: cam.davidson.pilon@gmail.com
File Name: experiments/working_npmle.py
Class Name:
Method Name: create_turnball_intervals


Project Name: nilmtk/nilmtk
Commit Name: 72f3f5bf50ed2d91cdcfbe2cf47120a2df8883cd
Time: 2014-11-26
Author: jack-list@xlk.org.uk
File Name: nilmtk/elecmeter.py
Class Name: ElecMeter
Method Name: _get_stat_from_cache_or_compute