[
https://issues.apache.org/jira/browse/AMBARI-17908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397977#comment-15397977
]
Hadoop QA commented on AMBARI-17908:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12820744/AMBARI-17908_trunk_01.patch
against trunk revision .
{color:red}-1 patch{color}. Top-level trunk compilation may be broken.
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/8214//console
This message is automatically generated.
> Ensure the supplied hostname is a valid hostname when signing agent-side host
> certs
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-17908
> URL: https://issues.apache.org/jira/browse/AMBARI-17908
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 1.2.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Fix For: 2.4.0
>
> Attachments: AMBARI-17908_branch-2.4_01.patch,
> AMBARI-17908_trunk_01.patch
>
>
> Ensure the supplied hostname is a valid hostname when signing agent-side host
> certs via the following REST API call:
> {noformat}
> POST /certs/:HOSTNAME
> {noformat}
> This is a validity check to make sure only valid hostname are handled.
> The following industry accepted regular expression maybe use to validate
> hostnames:
> {noformat}
> ^(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-\_]*[a-zA-Z0-9])\.)*(?:[A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-\_]*[A-Za-z0-9])$
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)