-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
When gitleaks is run in
gitmode, I think it would see the unix-style line endings of the file as it is stored in git. When gitleaks is instead run indirmode, it would see the local line endings, e.g.\r\non windows.Not sure if this is actually how it works, but if so, it might make sense to normalize line endings in gitleaks before executing the regex, to avoid such surprises?
Originally posted by @Ben-grmbl in #1637 (comment)
Related: #1565
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels