NatLabRockies / NatLabRockies/api-umbrella
Escaping of URLs break api
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2.2k
- Forks
- 373
- PR merge metrics
- No merged PRs in 30d
Description
I have a legacy API I have no access to that receives these requests:
http://old.server/ws_reallyold/api/get/proyects/%22WHAT%22/%22EVER%22
When I try to put api umbrella in front of it this is what the server gets:
http://apiumbrella.server/ws_reallyold/api/get/proyects/"WHAT"/"EVER"
The %22 is changed into " (double quotes) and it fails.
Any idea how I can't avoid this un-escaping?
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
No source file or test is named. Start by reproducing the request through API Umbrella and compare the forwarded path with the original URL, focusing on the %22 segments. Done means the legacy API receives the encoded path unchanged, with a regression test covering this request.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100