kylewm / flask-micropub

Flask extension to support IndieAuth and Micropub clients.
http://flask-micropub.readthedocs.org/
BSD 2-Clause "Simplified" License
24 stars 2 forks source link

Handle relative links to endpoints #5

Open sknebel opened 6 years ago

sknebel commented 6 years ago

Looking into https://github.com/kylewm/woodwind/issues/71, it seems like flask-micropub is the source of this bug.

https://github.com/kylewm/flask-micropub/blob/794d95c624b9b3e05c7f19881b3d91f7bf73cd2e/flask_micropub.py#L304 does not resolve relative links to absolute ones, and does not look for <base> tags.