Skip to content

[Feature]: Implementing safe message length limiting along with basic sanitization using escapeHTML, to avoid any issues like XSSΒ #192

@ajatshatru01

Description

@ajatshatru01

Note

You can now preview the latest updates and improvements every 2–3 days at the following link:
πŸ‘‰ Helixque-Changes

Describe the feature you'd like
Converts text to a string and trims it.

Ensures it’s no longer than 1000 characters.

Escapes HTML (<, >, &, etc.) to prevent injection attacks.

Sends the safe text to all connected clients.

Stores the safe message in history.

Describe alternatives you've considered
Any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.
I have requested to join discord server, kindly accept.


Prerequisite Checklist


βœ… Issues will be assigned once all checklist prerequisites are verified.

Important

πŸ›‘ Contribution Guidelines β€” Please Read Before Proceeding

  • Any PR raised for an unassigned issue (even if the issue number is mentioned in the PR) will not be merged and will be closed automatically.
  • If your issue is valid but not yet assigned, please ping the Project Maintainers in the Discord Channel to get it assigned before starting work or submitting a PR.
  • Only Code Owners or Project Maintainers have the authority to verify, approve, and assign issues.
  • Do not self-assign issues β€” any self-assigned issue will be reviewed, and the final decision will rest with the Code Owners.

Thank you for helping shape HelixQue’s future this Hacktoberfest πŸ™Œ

Note

You can now preview the latest updates and improvements every 2–3 days at the following link:
πŸ‘‰ Helixque-Changes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions