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

Support trailing slashes for endpoints #81

Closed
allouis opened this issue Jun 27, 2024 · 0 comments
Closed

Support trailing slashes for endpoints #81

allouis opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@allouis
Copy link
Contributor

allouis commented Jun 27, 2024

When a dispatcher is configured like:

federation.setOutboxDispatcher('/outbox/{handle}', ...);

Fedify will 404 for requests to /outbox/user/ but work for /outbox/user - it would be great if we could either treat both the same, or issue a redirect so that clients find it easier to work with.

@dahlia dahlia added the enhancement New feature or request label Jun 27, 2024
@dahlia dahlia self-assigned this Jul 2, 2024
@dahlia dahlia closed this as completed in 8699f21 Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants