whoogle-search/app
Ben Busby 933ce7e068 Handle FF sending bad search suggestion param
Occasionally, Firefox will send the search suggestion
string to the server without a mimetype, resulting in the suggestion
only appearing in Flask's `request.data` field. This field is typically
not used for parsing arguments, as the documentation states:

Contains the incoming request data as string in case it came with a
mimetype Flask does not handle.

This fix captures the bytes object sent to the server and parses it into
a normal query to be used in forming suggestions.
2020-10-28 23:02:41 -04:00
..
models Add tor and http/socks proxy support (#137) 2020-10-28 20:47:42 -04:00
static Add tor and http/socks proxy support (#137) 2020-10-28 20:47:42 -04:00
templates Handle FF sending bad search suggestion param 2020-10-28 23:02:41 -04:00
utils Add tor and http/socks proxy support (#137) 2020-10-28 20:47:42 -04:00
__init__.py Add tor and http/socks proxy support (#137) 2020-10-28 20:47:42 -04:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Fix improper header styling, remove shopping tab links 2020-10-25 13:52:30 -04:00
request.py Add tor and http/socks proxy support (#137) 2020-10-28 20:47:42 -04:00
routes.py Handle FF sending bad search suggestion param 2020-10-28 23:02:41 -04:00