Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Backport 5.1] [github app] Encode App baseURL in state instead of using Referer#55307

Merged
BolajiOlajide merged 1 commit into
5.1from
backport-55305-to-5.1
Jul 26, 2023
Merged

[Backport 5.1] [github app] Encode App baseURL in state instead of using Referer#55307
BolajiOlajide merged 1 commit into
5.1from
backport-55305-to-5.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Firefox's default settings do not forward Referer headers for privacy reasons. This means that GitHub App setups fail when done using Firefox.

This PR adds the GitHub App's base url to the state we store in Redis, so that we no longer rely on the browser sending the Referer header.

Test plan

Tests updated.

<!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->

Backport 02ee893 from #55305

@BolajiOlajide BolajiOlajide enabled auto-merge (squash) July 26, 2023 11:15
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@BolajiOlajide BolajiOlajide merged commit 4776fd8 into 5.1 Jul 26, 2023
@BolajiOlajide BolajiOlajide deleted the backport-55305-to-5.1 branch July 26, 2023 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants