Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal tags not all displayed in admin panel #19871

Open
1 task done
cathysarisky opened this issue Mar 14, 2024 · 0 comments
Open
1 task done

Internal tags not all displayed in admin panel #19871

cathysarisky opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@cathysarisky
Copy link
Contributor

Issue Summary

It is possible to create multiple internal tags with the same name, via minor unintended abuse of the Admin API. These tags get a -2 appended to them, for example hash-firsttag if accidentally duplicated becomes hash-firsttag-2 (and then hash-firsttag-2-2 if one makes the same API error repeatedly).

Visiting /ghost/#/tags/ shows only the original hash-firsttag tag, with the posts that have that tag listed. It does not display the additional -2 and -2-2 versions of the tag, making it difficult to see the problem and delete the extra tags. Given that themes use internal tags for a variety of unexpected purposes, this can cause breakages in weird places.

Steps to Reproduce

see above.

Ghost Version

Ghost Pro

Node.js Version

Ghost Pro

How did you install Ghost?

Ghost Pro

Database type

MySQL 8

Browser & OS version

Chrome, windows 10, recent.

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Mar 14, 2024
@daniellockyer daniellockyer added the P3 label Mar 28, 2024 — with Linear
@daniellockyer daniellockyer removed the needs:triage [triage] this needs to be triaged by the Ghost team label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants