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

admin.openmhz.com is overly aggressive with its character stripping in titles and descriptions #157

Open
theficus opened this issue Dec 30, 2023 · 0 comments

Comments

@theficus
Copy link

theficus commented Dec 30, 2023

It's very hard to write a coherent description for a feed as it strips things like parenthesis, line feeds, and others.

For instance, if I type a feed title like this:

Puget Sound Emergency Radio Network (PSERN) Full

it becomes:

Puget Sound Emergency Radio Network PSERN Full

If I try to add line feeds to a feed description to separate out areas, they get removed putting all the text into one continuous blob. (Interestingly, line feeds are preserved if I edit the description, but parenthesis are stripped out completely.)

It looks like all of these characters get stripped when saving: ~!@#$%^&*()+=``~"'<>?/\|.

Surely there's a way to be less heavy-handed here by not stripping these characters out. (I'm assuming this is some sort of injection or XSS defense-in-depth, but there's plenty of mitigations for this that don't involve discarding user input.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant