HomeSoftware Heritage

api, browse: Ensure to sanitize filename passed to django FileResponse

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api, browse: Ensure to sanitize filename passed to django FileResponse

Django might try to access the file if the value provided to the filename
query parameter of associated views is an absolute path.

Details

Provenance
anlambertAuthored on Dec 7 2022, 5:53 PM
anlambertPushed on Dec 8 2022, 5:20 PM
Differential Revision
D8945: api, browse: Ensure to sanitize filename passed to django FileResponse
Build Status
Buildable 33197
Build 52045: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.