'Actually find the path disclosure vulnerabilities'

def find_path_disclosure(self, request, response):

    body_text = response.get_body()
    match_list = []
    for (match, _, _) in self._signature_re.query(body_text):
        match_list.append(match.group(1))
    match_list.sort(longest_cmp)
    real_url = response.get_url().url_decode()
    for match in match_list:
        if ((real_url, match) in self._reported):
            continue
        if self._is_false_positive(match, request, response):
            continue
        self._reported.append((real_url, match))
        desc = 'The    URL:    "%s"    has    a    path    disclosure    vulnerability    which    discloses    "%s".'
        desc %= (response.get_url(), match)
        v = Vuln('Path    disclosure    vulnerability', desc, severity.LOW, response.id, self.get_name())
        v.add_to_highlight(match)
        v.set_url(real_url)
        v['path'] = match
        self.kb_append(self, 'path_disclosure', v)
        return v
