Skip to content

[BUG] Links on ban comments are converted automatically to "$1" #1033

Open
@sys-arch

Description

@sys-arch

What are the steps to reproduce this issue?

Steps to reproduce the behavior:

Login to Sourcebans
Go to Bans List
Click on any ban you have
Click on "Add comment" (if you have luck because button don't always work)
Add any external link to comment and publish it
See error

What happens?

When an admin bans a player, they add a comment with a link to the video or screenshots to prove the validity of the ban. However, when the comments are posted, the links are converted to a link that says "$1" and whose link is https://example.com/$1 where example.com is the URL of the Sourcebans installation.

What were you expecting to happen?

Should appear link as it

Any logs, error output, etc.?

No.

Any other comments?

I reported this to the theme repo i use and developer says is a problem of SB++ core.

DNA-styx/SBPP-Windmill-Dashboard#66

What versions of software are you using?

Operating System: Linux
SourceBans++ Version: SourceBans++ 1.8.1 | Git: 1434
PHP Version: 8.3
MySQL Version: MariaDB unknown version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions