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

ignore scheme when looking for target post? #16

Closed
snarfed opened this issue Feb 16, 2014 · 1 comment
Closed

ignore scheme when looking for target post? #16

snarfed opened this issue Feb 16, 2014 · 1 comment

Comments

@snarfed
Copy link
Contributor

snarfed commented Feb 16, 2014

i'm seeing some incoming webmentions rejected because wordpress-webmention thinks the target doesn't exist, probably because i recently switched my site from http to https. should it ignore scheme (http vs https) when comparing links?

example from https://www.brid.gy/log?start_time=1392578660&key=aglzfmJyaWQtZ3lyTAsSCFJlc3BvbnNlIj50YWc6dHdpdHRlci5jb20sMjAxMzo0MzI3Mzg2MTgzNDAxNTk0ODhfZmF2b3JpdGVkX2J5XzEwOTQyNzQ5Mww :

{'body': u'Specified target URL not found.', 'code': 'RECEIVER_ERROR', 'request': u'POST http://snarfed.org/w/?webmention=endpoint (with source=https://brid-gy.appspot.com/like/twitter/snarfed_org/432738618340159488/109427493, target=http://snarfed.org/2014-02-09_changed-my-twitter-username)', 'http_status': 404}

i changed my wordpress base url to use https, so
http://snarfed.org/2014-02-09_changed-my-twitter-username is now https://snarfed.org/2014-02-09_changed-my-twitter-username .

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

2 participants