File: app/settings/controllers.py (lines 135, 152)
Description
Both delete_url() and delete_comment() extract URLs using request.args.get('url').split('get?url=')[1]. This raises an IndexError if the parameter format doesn't match, and raises an AttributeError if the parameter is missing entirely (None.split()).
File:
app/settings/controllers.py(lines 135, 152)Description
Both
delete_url()anddelete_comment()extract URLs usingrequest.args.get('url').split('get?url=')[1]. This raises anIndexErrorif the parameter format doesn't match, and raises anAttributeErrorif the parameter is missing entirely (None.split()).