mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 09:03:45 +08:00
cf02c518b9
Category and tag hashtags used to be handled differently even though most of the code was very similar. This design was the root cause of multiple issues related to hashtags. This commit reduces the number of requests (just one and debounced better), removes the use of CSS classes which marked resolved hashtags, simplifies a lot of the code as there is a single source of truth and previous race condition fixes are now useless. It also includes a very minor security fix which let unauthorized users to guess hidden tags. |
||
---|---|---|
.. | ||
helpers.rb | ||
shims.js |