-
Notifications
You must be signed in to change notification settings - Fork 85
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
Handle CORS for GetValidated3pidServlet #342
Handle CORS for GetValidated3pidServlet #342
Conversation
It looks like |
Kindly asking for review :)@anoadragon453 |
@anoadragon453 As you just did this for Sygnal... would kindly repeat your CI pipeline + towncrier magic (master -> main) for this? |
we did both together. Have restarted the builds here. |
We just ran Could you please rebase or merge main here? |
34edcd2
to
2ecb4a0
Compare
Rebase done, we have no conflicts. |
Is anything blocking review @anoadragon453 ? Was there any reason not to put CORS in this endpoint? Or was is simply forgotten? |
We should be able to get back to this within the next 2 days at worst -- we're just coming off of a bank holiday weekend. I'll need to do some digging to make sure I'm not missing a reason that CORS headers were not present on this endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @PiotrKozimor, apologies for the delay on getting to this. The send_cors
addition to the codebase dates back to the very first commit, whereas the addition of the servlet was later (without much explanation).
I don't see any problem with adding CORS headers to this endpoint, so I'm going to go ahead and chalk it up to "forgetfulness".
Just a couple things with the changelog, otherwise the rest of the code looks good to me! (and note that there's now another merge conflict).
Co-authored-by: Andrew Morgan <[email protected]>
Now it was me having long holidays 🙃 I have pushed requested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Test failures are unrelated to this change. Thanks again!
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.Signed-off-by: Piotr Kozimor [email protected]