Skip to content

[Bug]: Pagination NextLink is incorrect in Reverse Proxy scenarios #2677

@vs-dsva

Description

@vs-dsva

What happened?

If running DAB behind a reverse proxy that handled SSL termination (https -> http) the next link is broken as it will use http schema instead of https.
I think the issue is in src/Core/Resolvers/SqlResponseHelpers.cs as the link should be constructed either:

  1. as a relative link
  2. as a schema-less link
  3. use the x-forwarded-host and x-forwarded-proto if theyare available

Version

1.4.26

What database are you using?

PostgreSQL

What hosting model are you using?

Custom Docker host

Which API approach are you accessing DAB through?

REST

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcriCustomer Reported issuetriageissues to be triaged

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions