I don't understand the need to support sending webmentions for protocol-less links, and this code is busted: it results in the target hash table changing while we're in the middle of iterating over it (since the 'target' key value gets modified and a new has entry inserted).
If this is really needed we can always revisit later and refactor the code so it works.
I don't understand the need to support sending webmentions for protocol-less links, and this code is busted: it results in the target hash table changing while we're in the middle of iterating over it (since the 'target' key value gets modified and a new has entry inserted).
If this is really needed we can always revisit later and refactor the code so it works.