A user Esb678 reported a bug in Discourse where quoting a post from a restricted category (like a rules category) in the composer sets the new topic’s category to that restricted one, potentially allowing access to otherwise off-limits areas. awesomerobot confirmed this is a Discourse-wide issue but noted that posting is blocked unless the category is changed. The issue is considered a usability problem, as the composer should fall back to a default or no category instead of prefilling with a restricted one. Moin referenced a prior report on the same issue [here](https://meta.discourse.org/t/quoting-a-clo sed-topic-prefills-category-in-composer-that-should-be-off-limits/260009?u=moin).
I recently noticed this glitch where if you go to a category that you cannot post in (such as a rules category) and you quote something, it sets the category to that category that you quoted from. Here is an example from the Stateview Forums: where I quoted one random word:
I can reproduce this issue on a test site, so it’s a Discourse-wide issue, but when this happens you’re not allowed to post the topic unless you change the category to one you have permission to create in.
Ideally we should update this to fallback to the default category or no category selected.