[
https://issues.apache.org/jira/browse/MESOS-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guangya Liu updated MESOS-5739:
-------------------------------
Description:
We should fix the value parsing code to only accept the canonical formats as
defined in http://mesos.apache.org/documentation/latest/attributes-resources/ ,
the behaviour after the fix is as following:
{code}
1. Did not support [1-2, [3-4]] as Ranges; it should be [1-2, 3-4].
2. Did not support {a{b, c}d} as Set; it should be {ab, cd}
3. Add check for Text against [a-zA-Z0-9_/.-]
{code}
was:
Enhanced Value parsing:
{code}
1. Did not support [1-2, [3-4]] as Ranges; it should be [1-2, 3-4].
2. Did not support {a{b, c}d} as Set; it should be {ab, cd}
3. Add check for Text against [a-zA-Z0-9_/.-]
{code}
> Fix Value parsing code to only accept the canonical formats
> -----------------------------------------------------------
>
> Key: MESOS-5739
> URL: https://issues.apache.org/jira/browse/MESOS-5739
> Project: Mesos
> Issue Type: Bug
> Components: master
> Reporter: Klaus Ma
> Assignee: Klaus Ma
>
> We should fix the value parsing code to only accept the canonical formats as
> defined in http://mesos.apache.org/documentation/latest/attributes-resources/
> , the behaviour after the fix is as following:
> {code}
> 1. Did not support [1-2, [3-4]] as Ranges; it should be [1-2, 3-4].
> 2. Did not support {a{b, c}d} as Set; it should be {ab, cd}
> 3. Add check for Text against [a-zA-Z0-9_/.-]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)