You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/01/10 00:17:00 UTC

[jira] [Commented] (HBASE-23663) Allow dot and hyphen in Profiler's URL

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

Hudson commented on HBASE-23663:
--------------------------------

Results for branch branch-2.1
	[build #1767 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1767/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1767//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1767//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1767//JDK8_Nightly_Build_Report_(Hadoop3)/]


(x) {color:red}-1 source release artifact{color}
-- See build output for details.


(x) {color:red}-1 client integration test{color}
-- Something went wrong with this stage, [check relevant console output|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1767//console].


> Allow dot and hyphen in Profiler's URL
> --------------------------------------
>
>                 Key: HBASE-23663
>                 URL: https://issues.apache.org/jira/browse/HBASE-23663
>             Project: HBase
>          Issue Type: Bug
>          Components: profiler
>    Affects Versions: 3.0.0, 2.2.0, 2.3.0, 2.1.5
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0, 2.1.9, 2.2.4
>
>
> ProfileOutputServlet sanitizes the input URL but fails when the query string contains dot or hyphen. These are valid characters for the hostname.
> Example URL part:
> /prof-output/async-prof-pid-122466-cpu-1.svg?host=myhost-1.example.com&port=16010 
> In this case the user gets the following error message:
> {noformat}
> HTTP ERROR: 500
> Problem accessing /prof-output/async-prof-pid-122466-cpu-1.svg. Reason:
>     java.lang.RuntimeException: Non-alphanumeric data found in input, aborting.
> Powered by Jetty:// 9.3.27.v20190418 {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)