accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milleruntime <>
Subject [GitHub] accumulo pull request #289: ACCUMULO-4677 Sanitizing PathParam values in RES...
Date Fri, 04 Aug 2017 16:19:57 GMT
Github user milleruntime commented on a diff in the pull request:
    --- Diff: server/monitor/src/main/java/org/apache/accumulo/monitor/rest/trace/
    @@ -176,12 +193,15 @@ public Void run() {
       public TraceList getTracesType(@PathParam("id") String id) throws Exception {
    -    TraceList traces = new TraceList(id);
    -    if (id == null) {
    +    if (StringUtils.isEmpty(id)) {
    --- End diff --
    I don't know what type of ID this is referring to but if it is a table or namespace, should
create ID type objects.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message