You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to register a new user with a password exceeding 102,303 characters, the system throws an unhandled error with the status code 413. This is unexpected behavior, as the system should have a clearly defined maximum password length and provide a user-friendly error message if the limit is exceeded.
Additionally, this limit of 102,303 characters is undocumented, which highlights a potential inconsistency in the system’s design. This behavior could pose risks, such as security vulnerabilities or degraded user experience.
👟 Reproduction steps
1 - Navigate to the Create Account page.
2 - In the password field, enter a string with more than 102,303 characters.
3 - Fill out the remaining required fields with valid inputs.
4 - Click on the Create Account button.
5 - See the error.
👍 Expected behavior
The system should enforce a well-defined maximum password length (e.g., 64 or 128 characters). If the user enters a password exceeding this limit, the system should:
1 - Prevent the submission of the form.
2 - Display a clear and user-friendly error message, such as:
"Password must not exceed [X] characters."
3 - Handle the input gracefully without causing unhandled errors or unexpected behavior.
4 - Document the maximum password length in the system's user guidelines or API documentation.
👎 Actual Behavior with Screenshots
When entering a password longer than 102,303 characters and attempting to create an account:
1 - The system throws an unhandled error with the status code 413.
2 - No user-friendly error message is displayed, and the registration process is halted unexpectedly.
💻 Operating system
Windows
🤖 Node Version
v20.17.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
I checked and didn't find similar issue
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered:
Why do you need 102k Characters for your password?
It's not about needing a password with 102,000 characters. It's about ensuring that the system is robust, consistent, and capable of handling unexpected inputs correctly. A well-designed system should anticipate such scenarios and provide clear messages to the user while avoiding unpredictable behavior, like unhandled errors.
Additionally, during development, it's essential to test input limits and restrictions to identify inconsistencies and vulnerabilities. Constraints like the maximum password length must be clearly defined, documented, and validated both on the front-end and back-end.
This type of testing is crucial to ensure the system operates reliably and doesn't confuse or frustrate users, which could also expose potential security risks. My goal in reporting this bug is to contribute to making the system meet these quality standards.
📜 Description
When attempting to register a new user with a password exceeding 102,303 characters, the system throws an unhandled error with the status code 413. This is unexpected behavior, as the system should have a clearly defined maximum password length and provide a user-friendly error message if the limit is exceeded.
Additionally, this limit of 102,303 characters is undocumented, which highlights a potential inconsistency in the system’s design. This behavior could pose risks, such as security vulnerabilities or degraded user experience.
👟 Reproduction steps
1 - Navigate to the Create Account page.
2 - In the password field, enter a string with more than 102,303 characters.
3 - Fill out the remaining required fields with valid inputs.
4 - Click on the Create Account button.
5 - See the error.
👍 Expected behavior
The system should enforce a well-defined maximum password length (e.g., 64 or 128 characters). If the user enters a password exceeding this limit, the system should:
1 - Prevent the submission of the form.
2 - Display a clear and user-friendly error message, such as:
"Password must not exceed [X] characters."
3 - Handle the input gracefully without causing unhandled errors or unexpected behavior.
4 - Document the maximum password length in the system's user guidelines or API documentation.
👎 Actual Behavior with Screenshots
When entering a password longer than 102,303 characters and attempting to create an account:
1 - The system throws an unhandled error with the status code 413.
2 - No user-friendly error message is displayed, and the registration process is halted unexpectedly.
💻 Operating system
Windows
🤖 Node Version
v20.17.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: