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

Ensure that ?author=0 resolves to blog user #996

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

mattwiebe
Copy link
Contributor

When we recently introduced the move to ?author=user_id style Actor URLs, we got caught on a check that failed on ?author=0 IDs for the Blog User.

Fixes #981

Proposed changes:

  • Always just return from the regex that parses the author URL. The regex has already confirmed there's a number there.

Other information:

  • Have you written new tests for your changes, if applicable?

Testing instructions:

  • Go to '..'

@pfefferle pfefferle merged commit ba4da3b into trunk Nov 15, 2024
21 checks passed
@pfefferle pfefferle deleted the fix/resolve-new-user-by-resource branch November 15, 2024 06:39
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

Successfully merging this pull request may close these issues.

Does not allow following & posts not appearing in Mastodon
2 participants