Turtle | 2025-02-02 22:02:38 UTC | #1 Hey everyone, I'm not sure if this is a bug or a feature, but either way it seems pretty problematic. Basically, even when a post is hidden and flagged by the community, it's still perfectly visible in the raw url, and this doesn't resolve after some period of time. Only deleted and approved flagged posts don't show up in the raw. To me, this seems like a bit of an oversight but again, it could have some practical purpose that I'm not aware of. By raw url, I mean meta.discourse.org/raw/350051/ links which just show a minimal version of the interface. And I did search before posting and I couldn't find a topic like this one. But I might've missed it, so in that case, sorry in advance. ------------------------- Canapin | 2025-02-01 18:34:16 UTC | #2 [quote="Turtle, post:1, topic:350051"] when a post is hidden and flagged by the community, it’s still perfectly visible in the raw url [/quote] By a non-staff user? I tested on my test instance. * I flag a post as an admin, thus it's automatically hidden (and added as pending review). * I log in with a non-staff user * I open the direct post URL, either `/posts/1174.json` or `/posts/1174/raw` * I get a 404 error * I can open these URLs as an admin, as expected Did I do a step wrong to reproduce your issue, or did I misunderstand what you described? ------------------------- Turtle | 2025-02-01 18:32:26 UTC | #3 Yeah I'm a regular (non-staff), but that's weird. It works fine on my site. Let me show you some screenshots. Uh this is from your site (I don't unicycle so I'm not logged in lol). https://unicyclist.com/raw/282458 If a post was flagged on there and was not dealt with (post hidden by community flags message) it would show up normally in the raw. ------------------------- Turtle | 2025-02-01 18:35:16 UTC | #4 ![Screenshot 2025-02-01 at 13.34.26|677x500](upload://csgZdbfsiJKT1rwDmHIqaD6KPEE.png) Normal UI image. In the raw, it looks like this. ![Screenshot 2025-02-01 at 13.35.09|689x180](upload://v711qlpgML6S8yhKB1fvwAgdP0l.png) ------------------------- Canapin | 2025-02-01 18:37:24 UTC | #5 Ooh I see what you mean. When loading the **topic**'s url (not the **post** url) , the hidden post's content is visible on the post stream. I get it, and you're right. It's also visible in the json output `/t/123.json`. ------------------------- sam | 2025-02-02 22:02:25 UTC | #6 The intent around hidden was always not as a security feature, it is there just to suppress noise. (similarly unlisting topics just suppresses them) I feel like this is more in the #feature department, maybe some communities would prefer stronger controls here. ------------------------- Turtle | 2025-02-04 23:11:36 UTC | #7 Alright. But sometimes the content is hidden for a reason, I mean if community flags hide something it's usually to protect other users from seeing it. This is a way around that, although I do doubt it matters much because I'm pretty sure most forum users aren't even aware of the raw urls in the first place. Just seemed like something worth reporting. But was this an intentional feature, or just a sort of side effect? ------------------------- tvavrda | 2025-02-04 23:34:17 UTC | #8 What do you use the raw URL for? I didn't know it was there and am wondering what is your use case? I guess then it should be compared to the original use case of the raw URL and then it can be judged whether it is a bug or a feature. ------------------------- Turtle | 2025-02-05 00:15:55 UTC | #9 Uh I used to look at it to see what kind of < heytwentycharacterlimit > things users were posting, and also to see more specific date and time information, and then I realized it let you see hidden content which was and still is pretty useful. ------------------------- tvavrda | 2025-02-05 00:33:59 UTC | #10 [quote="Turtle, post:9, topic:350051"] < heytwentycharacterlimit > [/quote] Is this what I think it is? ------------------------- Turtle | 2025-02-05 00:35:32 UTC | #11 Uh. I mean people use that to like.. bypass the character limit so yeah? Sometimes they write more... interesting stuff though. ------------------------- supermathie | 2025-02-05 02:39:56 UTC | #12 [quote="Turtle, post:7, topic:350051"] if community flags hide something it’s usually to protect other users from seeing it. [/quote] IMO an important word to add here is > ... seeing it *accidentally*. If someone goes out of their way to look for it, that's a different matter. ------------------------- michaeld | 2025-02-05 06:27:00 UTC | #13 But it can have legal implications because the content is technically not taken down when it’s flagged. -------------------------