uploads: Allow access to the /download/ variant anonymously.

This was mistakenly left off of b799ec32b0.

(cherry picked from commit fbb831ff3b)
This commit is contained in:
Alex Vandiver
2023-06-07 20:26:04 +00:00
parent c12f8de80b
commit ee2654c4ee
3 changed files with 15 additions and 3 deletions

View File

@@ -646,7 +646,7 @@ urls += [
),
rest_path(
"user_uploads/download/<realm_id_str>/<path:filename>",
GET=(serve_file_download_backend, {"override_api_url_scheme"}),
GET=(serve_file_download_backend, {"override_api_url_scheme", "allow_anonymous_user_web"}),
),
rest_path(
"user_uploads/<realm_id_str>/<path:filename>",