-
Notifications
You must be signed in to change notification settings - Fork 690
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
Apache is removing ETag headers #3877
Comments
When this bug is addressed, we can revert freedomofpress/securedrop-sdk@6170a33 in the SDK |
From that ticket:
I am rather sure this was intentional and was done as part of the no-cache headers to prevent anything from being left on a source's computer. |
Though I guess it is a a misconfiguration in the sense that it shouldn't be in the journalist config. Anyway just woke up, ignore me. |
No you're right @heartsucker, we should only modify the journalist Apache config |
Recapping discussion in gitter with @heartsucker @redshiftzero |
This was closed by #4023 |
Description
We send ETags in responses from a couple of journalist API endpoints (reference), but Apache is stripping them off via
Header unset Etag
Steps to Reproduce
/api/v1/token
as described here/api/v1/sources/<source_uuid>/submissions/<submission_uuid>/download
wheresource_uuid
andsubmission_uuid
are validExpected Behavior
response has
ETag
headerActual Behavior
response does not have
ETag
headerComments
This is similar to #3772 so a similar fix will do here (modifying Apache configs in
postinst
ofsecuredrop-app-code
package). In terms of priority, this is not a showstopping bug (users can still download files via the API without issue), so 0.11.0 or a bugfix release after 0.10.0 is fine.The text was updated successfully, but these errors were encountered: