From v2.0.0 onwards, mf2py supports img alt text by default, which breaks incoming webmentions, since (I think!) the line hcard.avatar = urljoin(source_url, hcard.avatar) in mentions/tasks/incoming/remote.py expects source_url to be a string, but is being passed an object with value and alt instead of just the URL string. Trying to parse incoming webmentions throws TypeError: Cannot mix str and non-str arguments (see stack trace below).
The current requirements (mf2py>=1.1.2) will mean a clean install of django-wm will default to the latest version (currently 2.0.1). Downgrading to version 1.1.3 does solve the problem, however.
From v2.0.0 onwards, mf2py supports img alt text by default, which breaks incoming webmentions, since (I think!) the line
hcard.avatar = urljoin(source_url, hcard.avatar)
inmentions/tasks/incoming/remote.py
expectssource_url
to be a string, but is being passed an object with value and alt instead of just the URL string. Trying to parse incoming webmentions throwsTypeError: Cannot mix str and non-str arguments
(see stack trace below).The current requirements (
mf2py>=1.1.2
) will mean a clean install of django-wm will default to the latest version (currently 2.0.1). Downgrading to version 1.1.3 does solve the problem, however.stack_trace.md