[ 
https://issues.apache.org/jira/browse/AMBARI-17908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Levas updated AMBARI-17908:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk
{noformat}
commit ad24dda214d189fd325f1c555b1b631c4b896ee8
Author: Robert Levas <[email protected]>
Date:   Fri Jul 29 08:04:39 2016 -0400
{noformat}

Committed to branch-2.4
{noformat}
commit c1168f0b3172ea4e970f330e9df0812deb476679
Author: Robert Levas <[email protected]>
Date:   Fri Jul 29 08:08:46 2016 -0400
{noformat}


> 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)

Reply via email to