You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
whoogle-search/app
Ben Busby 6f5f3d8ca7
Fix incorrect redirect protocol used by Flask
Flask's `request.url` uses `http` as the protocol, which breaks
instances that enforce `https`, since the session redirect relies on
`request.url` for the follow-through URL.

This introduces a new method for determining the correct URL to use for
these redirects by automatically replacing the protocol with `https` if
the `HTTPS_ONLY` env var is set for that instance.

Fixes #538

Fixes #545
3 years ago
..
models Improve public instance session management (#480) 3 years ago
static Add Japanese translation (#528) 3 years ago
templates Add "update available" indicator to footer (#517) 3 years ago
utils Fix incorrect redirect protocol used by Flask 3 years ago
__init__.py Improve cookie security when `HTTPS_ONLY` is set 3 years ago
__main__.py Swap out Flask's default web server for Waitress (#32) 4 years ago
filter.py Improve public instance session management (#480) 3 years ago
request.py Include "chips" param in image search (#534) 3 years ago
routes.py Fix incorrect redirect protocol used by Flask 3 years ago