mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
uploads: Allow access to the /download/ variant anonymously.
This was mistakenly left off ofb799ec32b0. (cherry picked from commitfbb831ff3b)
This commit is contained in:
@@ -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>",
|
||||
|
||||
Reference in New Issue
Block a user