Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Pubgate: unsupported protocol scheme #116
Describe the bug
Confirming the fix in #111, we discovered a different issue with followers using pubgate.
All POST requests against the Pubgate user return an error:
..Post : unsupported protocol scheme ""
It looks like we store an empty string as their inbox.
Steps to reproduce (if necessary)
Steps to reproduce the behavior:
POSTs should go out to an actual URL and succeed.
Version or last commit:
Jun 03 15:32:53 mangrove rob: 2019/06/03 15:32:53 POST Jun 03 15:32:53 mangrove rob: ERROR: 2019/06/03 15:32:53 log.go:26: Couldn't delete post! Post : unsupported protocol scheme ""
This is among a bunch of successful POSTs for the same action
I see. So looking into the code... actually we're not storing the user's shared inbox (I assume it doesn't have one). Looking at the database, we do have an inbox for that pubgate user.
So to fix this issue, we need to fix the logic in various