Skip to content

[Bug] Profile name field accepts excessive length and invalid characters #15693

Description

@carlh7777

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

N/A

RAGFlow image version

v0.25.6

Other environment information

Hardware parameters:
- Desktop PC

OS type:
- Windows 11

Browser:
- Google Chrome

Others:
- RAGFlow v0.25.6
- Profile page

Actual behavior

The Profile Name field accepts excessively long input and unrestricted special characters without validation.

A user can save a profile name containing arbitrary symbols and a large number of characters, causing the name to wrap across multiple lines in the Profile page.

This may lead to inconsistent UI rendering and layout issues wherever the profile name is displayed.

Expected behavior

Profile names should be validated before saving.

  • Enforce a reasonable maximum length
  • Restrict invalid characters according to product requirements
  • Display validation feedback for invalid input
  • Prevent names from negatively impacting UI layout and readability
  • Reject invalid values before saving

Steps to reproduce

1. Navigate to Settings → Profile
2. Click Edit on the Name field
3. Enter a very long string containing special characters
4. Save the changes
5. Observe that the name is accepted and displayed across multiple lines

Additional information

Example input:

carl!@#%@#$%WFASD SDAFSDF AJF EOUA PouQowj a;oife; oadf

Observed result:

  • Name is saved successfully
  • Special characters are accepted
  • Name wraps onto multiple lines

Potential impact:

  • Inconsistent profile display
  • Layout issues in profile-related pages
  • Poor user experience
  • Missing input validation

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions