diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2017-01-01 20:26:35 +0100 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2017-01-01 20:26:35 +0100 |
commit | e9748344227d197f5d80d725bf949a91418f1418 (patch) | |
tree | 9e07313123e4ffe94aceb3f5ab9c158c0f861fdf /fhost.py | |
parent | use function to format host URL (diff) | |
download | hex-zero-e9748344227d197f5d80d725bf949a91418f1418.tar.gz hex-zero-e9748344227d197f5d80d725bf949a91418f1418.tar.bz2 hex-zero-e9748344227d197f5d80d725bf949a91418f1418.zip |
do not shorten our host URLs
Turns out ShareX users are fucking retarded.
Diffstat (limited to 'fhost.py')
-rwxr-xr-x | fhost.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |