Opened 11 years ago
Last modified 11 years ago
#1056 closed defect
endpoints redirect to trailing / endpoint if missing — at Version 1
| Reported by: | Jessica Tallon | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.8.0 |
| Component: | programming | Keywords: | federation, api |
| Cc: | JanKusanagi, Jessica Tallon | Parent Tickets: |
Description (last modified by )
When you request a URL without a tailing / at the end a redirection rather than the content you requested. This should work with or without the / e.g.
https://my.gmg.instance/api/user/Tsyesika/feed should resolve to the same endpoint as https://my.gmg.instance/api/user/Tsyesika/feed/
Change History (1)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | endpoints 404 if missing trailing / → endpoints redirect to trailing / endpoint if missing |
