Skip to content

The CLA checker doesn't handle multiline From: #29

Description

@levitte

It was discovered that the CLA checker "succeeded" falsely with openssl/openssl#23632

The CLA checker finds the author id by fetching the patch url (in this case, https://github.com/openssl/openssl/pull/23632.patch) and matching group one from From:.*<(.*)>.

This had me take a close look at the patch url, and found this:

$ curl -k -L -i https://github.com/openssl/openssl/pull/23632.patch
...
From: =?UTF-8?q?Viliam=20Lej=C4=8D=C3=ADk?=
 <34658965+lejcik@users.noreply.github.com>
...

That's a two-line From:, which our cla checker is not at all prepared for. And unfortunately, the logic in the CLA checker is that if a (one-line) From: line hasn't been found, the CLA checker will happily say that a CLA has been found.

This isn't enormously problematic, because a later run of addrev will discover that there is no CLA, and thereby fail to perform. However, this is a bit confusing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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