mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
upload: Name the link based on the uploaded filename.
We previously parsed the filename as stored on disk, which is rather sanitized. Use as close to the original filename as possible.
This commit is contained in:
committed by
Tim Abbott
parent
8e5cdcc174
commit
8bd94b82bf
@@ -501,6 +501,7 @@ test("uppy_events", ({override_rewire, mock_template}) => {
|
||||
let response = {
|
||||
body: {
|
||||
url: "/user_uploads/4/cb/rue1c-MlMUjDAUdkRrEM4BTJ/copenhagen.png",
|
||||
filename: "copenhagen.png",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user