Skip to content

[Freeradius] when creating user, password contain comma (,) will trigger Text does not validate error. @ is not allowed too. #5117

@coddec

Description

@coddec

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
A clear and concise description of what the bug is, including last known working version (if any).
when creating user, password contain comma (,) will trigger Text does not validate error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Services -> FreeRADIUS -> Users -> Create new uer
  2. Enter Username
  3. Enter User password with comma, e.g. 123,
  4. Click Save button
    Getting Error Text does not validate. in red and can't save.

Expected behavior
Accept and Saved.

Screenshots
If applicable, add screenshots to help explain your problem.
Image

Relevant log files
If applicable, information from log files supporting your claim.

Additional context
Add any other context about the problem here.
Likely frontend input validation issue. FreeRADIUS accepts password with comma (,).
Also, is there any reason @ is not allowed?
FreeRADIUS accepts @ as password, however OPNsense doesn't allow it.

Environment
Software version used and hardware type if relevant.
e.g.:

OPNsense 25.7.10-amd64
FreeBSD 14.3-RELEASE-p7
OpenSSL 3.0.18

FreeRADIUS 1.9.28_1

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