[
https://issues.apache.org/jira/browse/MESOS-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907449#comment-13907449
]
Dominic Hamon commented on MESOS-361:
-------------------------------------
The next question then is where to do this.
If not in the parser in the JNI/... bindings, it would either be whenever one
is passed to a method (too expensive) or the few places we store them
internally (src/exec/exec.cpp, src/master/hierarchical_allocator_process.hpp,
src/master/master.cpp, etc).
Is there an early point at which we can validate? Maybe the executor is best...
> Restrict the character space of user provided identifiers.
> ----------------------------------------------------------
>
> Key: MESOS-361
> URL: https://issues.apache.org/jira/browse/MESOS-361
> Project: Mesos
> Issue Type: Bug
> Reporter: Benjamin Mahler
> Labels: newbie
>
> We need to restrict the character space of our identifiers.
> -FrameworkID
> -ExecutorID
> -ExecutorInfo.source
> -TaskID
> Using whitespace in these is messy, but using things like forward slashes
> will break functionality!
> In particular, file system operations using the ids, as well as statistics
> usage potentially.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)