Skip to content

make check of E-Mail address case insensitive #146

Closed
@Hobby-Student

Description

Sorry for disturbing again. ;)
Don't have time to make a pull request, but my suggestion has just few chars...

I would change the following in "GetCmsRecipient":

from

...
if (certificate.GetSubjectEmailAddress() == mailbox.Address)
...

to

...
if (certificate.GetSubjectEmailAddress().ToLower() == mailbox.Address.ToLower())
...

I don't think that E-Mail addresses are somewhere case sensitive...

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions