mirror of https://gitlab.com/bashrc2/epicyon
Remove newlines from logging
parent
9e575d87e4
commit
fbcb1b60a4
|
|
@ -387,7 +387,7 @@ def daemon_http_get(self) -> None:
|
||||||
# malevolent intent
|
# malevolent intent
|
||||||
if check_mixed_user_agent(ua_str):
|
if check_mixed_user_agent(ua_str):
|
||||||
print('GET HTTP contradictory browsers within user agent ' +
|
print('GET HTTP contradictory browsers within user agent ' +
|
||||||
str(self.headers))
|
str(self.headers).replace('\n', ' '))
|
||||||
http_400(self)
|
http_400(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ def daemon_http_post(self) -> None:
|
||||||
# malevolent intent
|
# malevolent intent
|
||||||
if check_mixed_user_agent(ua_str):
|
if check_mixed_user_agent(ua_str):
|
||||||
print('POST HTTP contradictory browsers within user agent ' +
|
print('POST HTTP contradictory browsers within user agent ' +
|
||||||
str(self.headers))
|
str(self.headers).replace('\n', ' '))
|
||||||
http_400(self)
|
http_400(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue