whoogle-search/app
Ben Busby cbe32a081e
Hotfix: extract only 'q' element from query string
Occasionally the search results will contain links with arguments such
as 'dq', which was being erroneously used in attempts to extract the 'q'
element from query strings. This enforces that only links with '?q=' or
'&q=' (elements with a standalone 'q' arg) will have the element
extracted.

I also refactored the naming of this element once extracted to be just
'q'. Although this seems counterintuitive, it makes a little more sense
since this element is the one we're extracting. It's a vague url arg
name, but it is what it is.

Bump version to 0.5.2 for hotfix release
2021-05-29 12:22:37 -04:00
..
models Support basic localization (#325) 2021-05-24 17:03:02 -04:00
static Add italian localization (#327) 2021-05-25 09:51:05 -04:00
templates Hotfix: remove site filter for maps links 2021-05-27 12:01:57 -04:00
utils Hotfix: remove site filter for maps links 2021-05-27 12:01:57 -04:00
__init__.py Hotfix: extract only 'q' element from query string 2021-05-29 12:22:37 -04:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Hotfix: extract only 'q' element from query string 2021-05-29 12:22:37 -04:00
request.py Hotfix: remove site filter for maps links 2021-05-27 12:01:57 -04:00
routes.py Hotfix: remove site filter for maps links 2021-05-27 12:01:57 -04:00