You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Philip Zampino (Jira)" <ji...@apache.org> on 2021/08/25 19:39:00 UTC
[jira] [Resolved] (KNOX-2648) TopologiesResource
uploadProviderConfiguration should report calculated file name instead of
provided name.
[ https://issues.apache.org/jira/browse/KNOX-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Zampino resolved KNOX-2648.
----------------------------------
Resolution: Invalid
The name parameter is already validated by the isValidResourceName(String) method.
> TopologiesResource uploadProviderConfiguration should report calculated file name instead of provided name.
> -----------------------------------------------------------------------------------------------------------
>
> Key: KNOX-2648
> URL: https://issues.apache.org/jira/browse/KNOX-2648
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.5.0
> Reporter: Philip Zampino
> Priority: Major
>
> The uploadProviderConfiguration method of TopologiesResource may return a JSON error response that includes the name path param. It would be safer to use the calculated filename value instead of the mostly-unvalidated name parameter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)