idno / known

A social publishing platform.

Home Page:https://withknown.com/opensource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webmentions: URL fragments seem to break post type detection

snarfed opened this issue Β· comments

Hi all! Noticed a minor bug while welcome @benwerd back to werd.io. 😁 Hope this helps!

While trying to do this:

Send a webmention to a Known URL with a fragment, eg #comments.

I encountered this error:

Post type detection fails and the webmention is interpreted as a plain mention instead of its actual type.

Some other notes:

Here are some examples on werd.io. First, a couple u-like-ofs to post URLs without fragments. These were interpred fine.

And a couple u-like-ofs to post URLs with #coments on the end. These got interpreted as mentions.

#172 is slightly related, but that was a long time ago, so 🀷

Thanks @snarfed! I see what's going on here. Going to take a look.