• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved 500 TypeError when password longer than 150 chars

captainhook

Basic Pleskian
Username:

TITLE

500 TypeError when password longer than 150 chars

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Product version: Plesk Obsidian 18.0.51.1
OS version: Rocky 8.7 x86_64

PROBLEM DESCRIPTION

When I attempt to change the admin account password to a password which is 158chars long, it throws the following error:

Server Error

500 TypeError​

ZxcvbnPhp\Scorer::factorial(): Return value must be of type int, float returned
TypeTypeError
MessageZxcvbnPhp\Scorer::factorial(): Return value must be of type int, float returned
FileScorer.php
Line272

STEPS TO REPRODUCE

My Profile > Change Password
Enter a password which is >150chars long

ACTUAL RESULT

Server Error

500 TypeError​

ZxcvbnPhp\Scorer::factorial(): Return value must be of type int, float returned
TypeTypeError
MessageZxcvbnPhp\Scorer::factorial(): Return value must be of type int, float returned
FileScorer.php
Line272

EXPECTED RESULT

Passwords >150char should save without this issue.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Hi @captainhook , thank you for reporting. That's probably why they call it "password" and not "pass phrase" ;), but after all, you are absolutely right that we publish the password length limit with 255 chars and not 158. So I forwarded it developers as ID [PPS-14220].
 
Developers have found an issue with the password field, but it is not the length. We could not reproduce it by simply copying a long password, but we could reproduce the issue when copying long URLs into the password field. That product issue has been confirmed and can now be tracked as ID [PPPM-13965].
 
Fixed in Plesk Obsidian 18.0.52, published April 25th, 2023: A Plesk administrator account password can now contain up to 255 characters. Previously the password longer than 158 characters caused an error.
 
Back
Top