Skip to content

(PUP-7937) Add missing period to exception message in certificate_authority.rb#6375

Merged
ericldelaney merged 1 commit intopuppetlabs:masterfrom
nrwahl2:fix/master/nwahl-add_missing_punctuation
Nov 21, 2017
Merged

(PUP-7937) Add missing period to exception message in certificate_authority.rb#6375
ericldelaney merged 1 commit intopuppetlabs:masterfrom
nrwahl2:fix/master/nwahl-add_missing_punctuation

Conversation

@nrwahl2
Copy link
Contributor

@nrwahl2 nrwahl2 commented Nov 20, 2017

An exception message in certificate_authority.rb is missing a period
between sentences. This patch simply adds that missing punctuation.

# Check for wildcards in the subjectAltName fields too.
if csr.subject_alt_names.any? {|x| x.include? '*' }
raise CertificateSigningError.new(hostname), _("CSR '%{csr}' subjectAltName contains a wildcard, which is not allowed: %{alt_names} To continue, this CSR needs to be cleaned.") % { csr: csr.name, alt_names: csr.subject_alt_names.join(', ') }
raise CertificateSigningError.new(hostname), _("CSR '%{csr}' subjectAltName contains a wildcard, which is not allowed: %{alt_names}. To continue, this CSR needs to be cleaned.") % { csr: csr.name, alt_names: csr.subject_alt_names.join(', ') }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like your editor converted the spaces into a tab.

@nrwahl2
Copy link
Contributor Author

nrwahl2 commented Nov 20, 2017 via email

@puppetcla
Copy link

CLA signed by all contributors.

…hority.rb

An exception message in certificate_authority.rb is missing a period
between sentences. This patch simply adds that missing punctuation.
@nrwahl2
Copy link
Contributor Author

nrwahl2 commented Nov 21, 2017

@ericldelaney should be good after builds run. We shall see.

@ericldelaney ericldelaney merged commit 776b66d into puppetlabs:master Nov 21, 2017
@ericldelaney
Copy link

@nrwahl2 Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants