-
Notifications
You must be signed in to change notification settings - Fork 213
csp-report: ensure Sentry requests are made with SNI #1411
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
662c772
failing test: csp-report: handle upstream Sentry errors
459c0e6
don't hardcode https host
fa21001
ignore non socket error?
6c2e7b4
Update error expewctations
2503c9a
check correct errr
bcdca8d
tweak error expectation
6b97d58
set proxy_ssl_server_name
04e2418
try force hostname
82f9ec6
add HTTPS_HOST env var
b2cc8c8
remove explicit proxy_ssl_name
7569e54
remove proxy_ssl_server_name
34ff36c
use correct setting
8022d1c
test tidy-up
fa34900
test fake DNS with _correct_ SNI host
042107f
refactor initHttpsServer()
e2d91d6
fix refactor
de32ff4
generate PEM files
0486ef8
remove unused fn
a873474
Merge branch 'next' into csp-report-test
alxndrsn 1ab8a67
Merge branch 'next' into csp-report-test
alxndrsn d743081
Merge branch 'next' into csp-report-test
alxndrsn 24b7cca
introduce specific mock-sentry docker thingy
48c97e1
fix path
4a5dd59
Add comment re sentry port
77d2772
revert changes to mock http server
1d05f3c
reduce unused stuff
1c651a1
simpler?
619487c
simpler
447670a
parameterise tests to use other hostnames
fec386a
Check sentry actually received the CSP report
ea31312
assert sentry received reuqerst
555ded5
add more infra
9751293
die if no cert
848b38b
neater
fa3acce
more comment
54d2fc5
tidy
e5595e9
rename reports
a4af372
assert errors too
5c918c5
tidy
1c0d4f2
wip
0377eb7
fix
9d60707
more commentary
2aa2f22
coment SNICallback
71065e6
move requires to top
ec2c0d5
handle bad API key better
8afb2c0
change test order
ead44e0
outdated comment
46e6d0a
simplify end()
d6d592a
fix
567026e
name
b0034b5
update comments
589f3bc
lol
9529a71
remove unused method parma
681dce1
lint
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.