Skip to content

Improve license parsing #6568

@FedericoMassaioli

Description

@FedericoMassaioli

Problem description

When the license is cut and pasted to Sublime Text 4189 (from the original email sent after buying it) it is reported as invalid if in the cut&paste process newline characters where changed into space.

It is necessary to restore end of lines as shown in the email.

  1. The message that reports the license as invalid is misleading
  2. Given the licence structure, it should be pretty easy to parse it even if new line characters are changed in spaces. It's all whitespace, anyhow.

Thanks

Preferred solution

Better parsing of licenses

Alternatives

In absence of newline characters, do not sentence the license as invalid in the error message and suggest restoring proper formatting

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions