b2dd110beac2001b5544126c84b0493467ae7f1c,w3af/core/data/request/fuzzable_request.py,FuzzableRequest,sent,#FuzzableRequest#,209
Before Change
// Ok, it"s not in it but maybe something similar
// Let"s set up something we can compare
if self._sent_info_comp is None:
data_encoding = self._post_data.encoding
post_data = str(self.get_data())
dec_post_data = unquote(post_data).decode(data_encoding)
data = u"%s%s%s" % (unicode(self.get_uri()), data, dec_post_data)
self._sent_info_comp = make_comp(data + unquote(data))
min_len = 3
// make the smth_instng comparable
smth_instng_comps = (make_comp(smth_instng),
make_comp(unquote(smth_instng)))
After Change
data = self.get_data()
if data:
if smth_instng in data:
return True
if smth_instng in unquote(data):
return True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: andresriancho/w3af
Commit Name: b2dd110beac2001b5544126c84b0493467ae7f1c
Time: 2017-08-23
Author: andres.riancho@gmail.com
File Name: w3af/core/data/request/fuzzable_request.py
Class Name: FuzzableRequest
Method Name: sent
Project Name: arraiy/torchgeometry
Commit Name: 73cb3ff00533b03ab64127d2287f9bdfe30c035c
Time: 2021-01-16
Author: edgar.riba@gmail.com
File Name: kornia/losses/total_variation.py
Class Name:
Method Name: total_variation
Project Name: danforthcenter/plantcv
Commit Name: a99de822ad4c2b57061192e1e78a7e49f7ebc1dc
Time: 2019-09-30
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/apply_mask.py
Class Name:
Method Name: apply_mask