SAS9 Multiple redirections

Open
#747 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
api, backend

Research direction

Start by tracing the adapter's redirect handling and how the request body and debug flag are forwarded across repeated redirects. Reproduce the SAS9 debug scenario described in the issue; done means the final request retains the body and debug behavior, and the response no longer causes the reported JavaScript error.

Written by the indexing model from the issue text.

Description

When a request is redirected more than once, the request body is lost.

One scenario (more are possible) where that is a critical issue:

  • SAS9
  • debug on
  • debug flag is not passed to the final request after redirections
  • SAS returns pure JSON response (without webout begin/end tags)
  • Adapter expects those tags since debug is on
  • App fails because of JS error
Dominant language
TypeScript
Stars
41
Forks
3
Avg merge
8h 42m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sasjs/adapter

All issues in sasjs/adapter

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.