| Post Reply | RetroFed Forum Forum Index » Lemmy |
| Author | Message | ||
|---|---|---|---|
|
ferric_carcinization
lemmy.ml
ferric_carcinization@lemmy.ml Joined: 2025-03-12 |
When a code block contains syntax for an image, lemmy seems to replace the image's url with a proxied one. This instance's web UI's preview displays the original url correctly. The proxied url is also distributed trough federation, so users on other instances or for example Piefed should also see the lemmy.ml url in the example below. This behavior is unexpected, as the contents of a code block should not be parsed as markdown, and thus no image should be displayed and no requests to the server should be made. Example: Lemmy UI version: 0.19.17 |
||
| 26 Original | |||
Scrubbles
poptalk.scrubbles.tech
scrubbles@poptalk.scrubbles.techJoined: 2023-06-02 |
This is a feature. As instance owners when people started posting CP and other horrendous shit we needed something to be able to turn it off ourselves, even if another site or instance was hosting it. If someone posts even markdown with it, we are still in the eyes if governments hosting it, and thus liable. |
||
| 4 | |||
|
ferric_carcinization
lemmy.ml
ferric_carcinization@lemmy.ml Joined: 2025-03-12 |
This is a feature. As instance owners when people started posting CP and other horrendous shit we needed something to be able to turn it off ourselves, even if another site or instance was hosting it. If someone posts even markdown with it, we are still in the eyes if governments hosting it, and thus liable.
Does it really help that much? It's trivial to reverse and no requests are made to the server, by clients or instances, if it's in a code block. Either way, this seems non-obvious and I can't remember seeing it documented anywhere. |
||
| 1 | |||
Scrubbles
poptalk.scrubbles.tech
scrubbles@poptalk.scrubbles.techJoined: 2023-06-02 |
Does it really help that much? It's trivial to reverse and no requests are made to the server, by clients or instances, if it's in a code block. Either way, this seems non-obvious and I can't remember seeing it documented anywhere.
Yes it does. |
||
| 4 | |||
|
ferric_carcinization
lemmy.ml
ferric_carcinization@lemmy.ml Joined: 2025-03-12 |
Yes it does. Release notes
That doesn't explain why urls in code blocks are rewriten as well. When the image is surrounded by backticks, it shouldn't be parsed but rather displayed verbatim as the code block's content. |
||
| 2 | |||
Scrubbles
poptalk.scrubbles.tech
scrubbles@poptalk.scrubbles.techJoined: 2023-06-02 |
That doesn't explain why urls in code blocks are rewriten as well. When the image is surrounded by backticks, it shouldn't be parsed but rather displayed verbatim as the code block's content.
That's a fair one, could write a bug for it on GitHub |
||
| 3 | |||
|
ferric_carcinization
lemmy.ml
ferric_carcinization@lemmy.ml Joined: 2025-03-12 |
That's a fair one, could write a bug for it on GitHub
Sorry, but could I ask you to file the issue? I would rather not associate my social accounts with my real identity. I probably should have filed an issue to begin with. |
||
| -1 | |||
| Post Reply |
Back to top |