mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
0ef2f1f89d
Ran into this issue twice quite by accident with fat-fingering copy/paste on my phone. If there is any whitespace in front of or trailing after the lookup query, it returns an "Unexpected error". Stripping the string is the quick and dirty way to clean it. I hate modifying the same function argument name in place like that, but it is valid Python. If you want me to assign it to a separate variable and replace all the references of "query", let me know. Thanks! |
||
---|---|---|
.. | ||
scss | ||
static | ||
templates | ||
utils | ||
__init__.py | ||
activitypub.py | ||
actor.py | ||
admin.py | ||
ap_object.py | ||
boxes.py | ||
config.py | ||
database.py | ||
httpsig.py | ||
incoming_activities.py | ||
indieauth.py | ||
key.py | ||
ldsig.py | ||
lookup.py | ||
main.py | ||
media.py | ||
micropub.py | ||
models.py | ||
outgoing_activities.py | ||
prune.py | ||
source.py | ||
templates.py | ||
uploads.py | ||
webfinger.py | ||
webmentions.py |