Skip to content

Bad line in web.txt #14

@erikthorselius

Description

@erikthorselius

The line "Attempting to access forbidden folder | /directory index of .*" is not accepted in to logentries.

$ cat web.txt
Attempting to access forbidden folder | /directory index of .* is forbidden

$ python le_auto-tag.py KEY web.txt
finding hosts
HOSTS
Traceback (most recent call last):
File "le_auto-tag.py", line 130, in
get_account_data()
File "le_auto-tag.py", line 16, in get_account_data
open_file()
File "le_auto-tag.py", line 42, in open_file
create_data(name,list_of_regex)
File "le_auto-tag.py", line 52, in create_data
label_id = create_label(name , color)
File "le_auto-tag.py", line 76, in create_label
response = urllib2.urlopen(req, json.dumps(request))
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions