You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2020/01/08 12:20:00 UTC
[jira] [Work started] (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:all-tabpanel ]
Work on HBASE-23663 started by Peter Somogyi.
---------------------------------------------
> 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
>
> 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)