Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [PIE-7927]: added header to avoid/bypass csrf check #234

Merged
merged 1 commit into from Jan 27, 2023

Conversation

mohitg0795
Copy link
Contributor

We got a customer issue that they are getting CSRF check issues while using bitbucket on-prem connector. They suggested to add a HTTP header to requests to bypass this issue. We read more on it and found it safe to add such a header. Adding "x-atlassian-token" header helps to bypass csrf checks which are of no significance while using APIs.

For more details, refer: https://community.sonarsource.com/t/bitbucket-server-integration-csrf-xsrf-warning-in-logs/23604/4

@tphoney tphoney added the bug label Jan 27, 2023
@tphoney
Copy link
Contributor

tphoney commented Jan 27, 2023

Great PR, thanks for the research and explanation.

@tphoney tphoney merged commit ef3c3cc into drone:master Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants