I recently uploaded (using discourse 2.4.0.beta7 and current) two content‑identical files in PNG and PDF formats (to the openmod forum). Discourse automatically parses and records the originating filename in the markdown as follows:
|Uploaded file name||Indicated file||Comment|
Below is a screenshot, annotated “1” and “2” to indicate how this works:
It seems to me that the PNG case should record the original filename or, failing that, at least the entire stub as per:
basename "bridge-2-a5-flier.04.png" ".png".
I looked around for similar bug reports but could only find traffic regarding the generation of the anonymized name string.
Thanks as always for this wonderful software. R