diff options
author | Dave Borowitz <dborowitz@google.com> | 2016-04-29 11:10:36 -0400 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2016-04-29 11:27:14 -0400 |
commit | 125a8959d2b639dbb8f4665335f369f67c455d74 (patch) | |
tree | 0209ea1663cc0d52bc0e5947168adf12d387d56e /pom.xml | |
parent | 773f9661d0634fb3ad69466c0f0ec4d65cb2122d (diff) | |
download | jgit-125a8959d2b639dbb8f4665335f369f67c455d74.tar.gz jgit-125a8959d2b639dbb8f4665335f369f67c455d74.zip |
PersonIdent: Strip some special chars from external strings
The special characters <> and '\n' interfere with parsing of
identities. C git strips these special characters, so we should too.
Rather than allocating extra strings by calling String#trim(), add a
few lines to our sanitization method to perform the same trimming as
described in String's Javadoc.
Change-Id: I96edcb93a2fc194ee354d60566d352299742a52f
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions