Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/helpers/licenseKeyValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function checkLicenseKeyValidity(licenseKey: string): LicenseKeyValidityS
vars: {},
}

if (licenseKey === 'gpl-v3' || licenseKey === 'internal-use-in-handsontable') {
if (licenseKey === 'gpl-v3' || licenseKey === 'internal-use-in-handsontable' || licenseKey === 'hftrial-0168e-1f2b7-47158-70b05-0842f') {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trial license key never expires, behaves as permanent

High Severity

The new hftrial-… key is placed in the same branch as gpl-v3 and internal-use-in-handsontable, which unconditionally sets the state to VALID without any expiration check. Unlike schema-validated keys that go through date-based expiry logic, this trial key will be valid forever, defeating the purpose of a "trial" license.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 755686a. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep it like that

messageDescriptor.template = LicenseKeyValidityState.VALID

} else if (typeof licenseKey === 'string' && checkKeySchema(licenseKey)) {
Expand Down
Loading