Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h-card validation tests #41

Open
fluffy-critter opened this issue Feb 2, 2021 · 0 comments
Open

h-card validation tests #41

fluffy-critter opened this issue Feb 2, 2021 · 0 comments

Comments

@fluffy-critter
Copy link

It'd be helpful if the webmention.rocks test suite provided some h-card examples to test various edge cases. For example, my h-card contains:

    <a class="u-email" href="mailto:fluffy%40beesbuzz%2ebiz">fluffy at beesbuzz dot biz</a>

which provides a valid email address to user-agents which URL-decode correctly (such as web browsers), but prevents naively-written spam harvesters from picking the address up. This email link has ended up tripping up a couple of webmention receivers, though.

Relatedly, it should also test to make sure that webmentions get received properly even if an optional attribute is malformed; even if my email link were invalid (e.g. mailto: fluffy AT beesbuzz DOT biz), that should not cause receiving the webmention to fail.

@fluffy-critter fluffy-critter changed the title h-card URL validation h-card validation tests Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant