You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Kyle Van Gilson (JIRA)" <ji...@apache.org> on 2017/08/03 23:52:01 UTC

[jira] [Commented] (ACCUMULO-4677) Sanitize @PathParam and @QueryParam parameters in new REST-based monitor

    [ https://issues.apache.org/jira/browse/ACCUMULO-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113712#comment-16113712 ] 

Kyle Van Gilson commented on ACCUMULO-4677:
-------------------------------------------

Saw this and took a swing at it in github PR #289.  If your interested, let me know as it probably needs additional unit tests and tighter validation on bounds etc.  If you were thinking along different lines, feel free to decline.  Probably best to look at the ParameterValidator class before looking at the rest as it contains the meat of the validation.  Regards!

> Sanitize @PathParam and @QueryParam parameters in new REST-based monitor
> ------------------------------------------------------------------------
>
>                 Key: ACCUMULO-4677
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4677
>             Project: Accumulo
>          Issue Type: Bug
>          Components: monitor
>            Reporter: Christopher Tubbs
>            Assignee: Mike Walch
>            Priority: Blocker
>             Fix For: 2.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Following on the issue identified in ACCUMULO-4660, I verified that parameters to the REST-based monitor (ACCUMULO-3005) resources need sanitization as well.
> All {{@PathParam}} and {{@QueryParam}} annotated fields should be sanitized.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)