webpage-webmentions icon indicating copy to clipboard operation
webpage-webmentions copied to clipboard

Embed crashes when given errenous `url` parameters

Open voxpelli opened this issue 4 years ago • 1 comments

Example:

https://webmention.herokuapp.com/api/embed?version=cutting-edge&url=http%3A%2F%2Fsvgur.com%2Fdweb%3Furl%3Dhttp%3A%2F%2Felecakes.blogspot.com&url=&url=

Causes:

Error: Invalid URL, should be an absolute one ()

Skärmavbild 2021-08-24 kl  10 47 08

voxpelli avatar Aug 24 '21 08:08 voxpelli

Fix by simply removing empty URL:s

voxpelli avatar May 29 '23 13:05 voxpelli