0x0

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e9748344227d197f5d80d725bf949a91418f1418
parent 0c5d8690cc4dad7abff112982504f5c3f254daef
Author: Martin Herkt <lachs0r@srsfckn.biz>
Date:   Sun,  1 Jan 2017 20:26:35 +0100

do not shorten our host URLs

Turns out ShareX users are fucking retarded.

Diffstat:
Mfhost.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fhost.py b/fhost.py @@ -107,7 +107,7 @@ def shorten(url): if len(url) > app.config["MAX_URL_LENGTH"]: abort(414) - if not url_valid(url): + if not url_valid(url) or is_fhost_url(url): abort(400) existing = URL.query.filter_by(url=url).first()