Skip to content

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

@crackwitz

Description

@crackwitz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions