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

Test content disposition against a content type with a parameter. #664

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

clokep
Copy link
Member

@clokep clokep commented Oct 6, 2023

@clokep clokep marked this pull request as ready for review October 6, 2023 15:24
@clokep clokep requested review from a team as code owners October 6, 2023 15:24
// We need to check that this security behaviour is being correctly run in
// Synapse, but since this is not part of the Matrix spec we do not assume
// other homeservers are doing so.
t.Skip("Skipping test of Content-Disposition header requirements on non-Synapse homeserver")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I guess the reason you're not using runtime.SkipIf is because you want to only run this test on synapse, rather than skip if it is dendrite/conduit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is what the other tests in this file used and I copied & pasted the test to bootstrap. 😄

@clokep clokep merged commit db5b96f into main Oct 11, 2023
4 checks passed
@clokep clokep deleted the clokep/content-type-partial branch October 11, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants