transform-hub icon indicating copy to clipboard operation
transform-hub copied to clipboard

Test for issue with API Server path handling

Open MichalCz opened this issue 1 year ago • 1 comments

What?

API Server accepts paths strictly as their ASCII representation and that was the intended way, but using + in the path breaks the route.

What should be happenning is that either:

  • querystring unescape should be applied
  • + char should be treated as a non-special case

Included

Why?

However this has no current impact, path handling should work consistently.

Running this test will show the issue:

$ yarn test:packages -s @scramjet/api-server

Review checks:

These aspects need to be checked by the reviewer:

  • [ ] Verify and confirm operation (please post a screenshot)
  • [ ] All STH tests pass
  • [ ] All Scramjet Cloud Platform tests pass
  • [ ] Documentation is updated or no changes

MichalCz avatar Jun 02 '23 11:06 MichalCz

Will be merged when the test passes.

alicja-gruzdz avatar Jun 05 '23 13:06 alicja-gruzdz