mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-12-22 08:11:07 -05:00
do not shorten our host URLs
Turns out ShareX users are fucking retarded.
This commit is contained in:
parent
0c5d8690cc
commit
e974834422
1 changed files with 1 additions and 1 deletions
2
fhost.py
2
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()
|
||||
|
|
Loading…
Reference in a new issue