Gitlab "Create new issue by email" email addresses can violate RFC3696
The email addresses in the Create an issue by email
feature can have more than 64 characters in the local part (local@domain) of the email address.
This violates RFC3696 which leads to the email address not being recognized as valid by some 3rd party programs.
Our specific use case was to use it for notifications in Stackdriver on Google Cloud. We have the problem because of our subgroup structure in Gitlab and worked around it by moving the repository to a higher level group.
Proposal
- Remove the project path from the
local
portion of the email address and instead rely on the project ID. - Create some bounding ranges and threw a message during startup that incoming email addresses might be too long.
Edited by Gabe Weaver