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

forum throws "500 error", word/link replacement bug in forum software #53

Open
crackwitz opened this issue Nov 4, 2023 · 0 comments
Open

Comments

@crackwitz
Copy link

crackwitz commented Nov 4, 2023

Forum software appears to have been updated... which now comes with a new bug.

I used to have a few word/link replacements configured that contained square brackets like [how-to-ask], which used to be okay but no longer. The forum appears to fail to sanitize this input before turning into a javascript RegExp. This caused failures to post. The javascript error is something to the effect of Uncaught SyntaxError: Invalid regular expression: ... because the literal square brackets are interpreted as RE syntax.

I've removed those offending patterns for now.

I would appreciate if someone could pass this on to whoever develops the forum software.

Here's the feature I speak of. I've already removed the offending patterns.

image

@crackwitz crackwitz changed the title forum throws "500" errors, according to user reports forum throws "500 error" Nov 4, 2023
@crackwitz crackwitz changed the title forum throws "500 error" forum throws "500 error", word/link replacement bug in forum software Nov 4, 2023
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