Dimillian / Dimillian/IceCubesApp
Bug: POST requests should use form data or JSON body, not query string parameters
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 7.1k
- Forks
- 720
- PR merge metrics
- No merged PRs in 30d
Description
Environment:
- OS: iOS 18.2 (22C150)
- IceCubesApp version: 1.11.2
Description
Ice Cubes tries to create its app using query string parameters.
e.g. POST /api/v1/apps?client_name=IceCubesApp&redirect_uris=icecubesapp://&scopes=read%20write%20follow%20push&website=https://github.com/Dimillian/IceCubesApp
This does not work on Akkoma (and probably Pleroma) instances as they only take POST requests using form data or JSON bodies (which is recommended in the API docs - "It is expected that query strings are used for GET requests, and form data or JSON is used for all other requests.")
Additionally the example for creating an app in the docs explicitly shows a JSON body - https://docs.joinmastodon.org/methods/apps/#create
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the app-creation request for the POST /api/v1/apps endpoint. Compare its parameter handling with the Mastodon app-creation documentation and verify that the request sends the parameters in a form-data or JSON body rather than the query string, including compatibility with Akkoma.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- api, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100