c3fd7d1a6172a1133cb33f55a92985f6d34779db,classifier4gyoithon/GyoiClassifier.py,,check_arg_value,#Any#Any#Any#Any#,237
Before Change
// Check virtual host.
if isinstance(vhost, str) is False and isinstance(vhost, int) is False:
print("[*] Invalid vhost: {0}".format(vhost))
return False
// Check url.
After Change
// Check virtual host.
if isinstance(vhost, str) is False and isinstance(vhost, int) is False:
Utilty().print_message(FAIL, "Invalid vhost: {}".format(vhost))
return False
// Check url.
if url is not None:
target = util.parse_url(url)
if "http" not in target.scheme:
Utilty().print_message(FAIL, "Invalid scheme : {}.".format(target.scheme))
return False
if target.netloc == "":
Utilty().print_message(FAIL, "Invalid fqdn : {}.".format(target.netloc))
return False
return True
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: gyoisamurai/GyoiThon
Commit Name: c3fd7d1a6172a1133cb33f55a92985f6d34779db
Time: 2018-08-20
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name:
Method Name: check_arg_value
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 0b042369e10c49bddf5f61f4dec8c04c39d7afd7
Time: 2018-10-28
Author: takaesu235@gmail.com
File Name: Recommender/main.py
Class Name:
Method Name:
Project Name: gyoisamurai/GyoiThon
Commit Name: c3fd7d1a6172a1133cb33f55a92985f6d34779db
Time: 2018-08-20
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name:
Method Name: check_arg_value
Project Name: gyoisamurai/GyoiThon
Commit Name: 4673937fdcb248168fdc25d49b74c5c8f35eed63
Time: 2019-03-13
Author: gyoiler3@gmail.com
File Name: modules/Gyoi_Creator.py
Class Name: Creator
Method Name: is_dir_existance
Project Name: gyoisamurai/GyoiThon
Commit Name: c3fd7d1a6172a1133cb33f55a92985f6d34779db
Time: 2018-08-20
Author: gyoiler3@gmail.com
File Name: classifier4gyoithon/GyoiClassifier.py
Class Name:
Method Name: