[
https://issues.apache.org/jira/browse/KNOX-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405283#comment-17405283
]
Philip Zampino commented on KNOX-2644:
--------------------------------------
This is a low-priority issue because the names are validated in the
TopologiesResource from which the DefaultTopologyService method is invoked.
> Topology names should be validated when uploaded via API
> --------------------------------------------------------
>
> Key: KNOX-2644
> URL: https://issues.apache.org/jira/browse/KNOX-2644
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.5.0
> Reporter: Philip Zampino
> Priority: Major
> Fix For: 1.6.0
>
>
> DefaultTopologyService#deployTopology does not validate the topology's name
> to prevent the creation of files outside the location or intent of the API.
> The name could be something like _*../gateway-site*_, which could be used to
> overwrite the gateway configuration.
> (e.g., _KNOX_HOME_/conf/topologies/../gateway-site.xml)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)