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:17:00 UTC
[jira] [Created] (HBASE-23663) Allow dot and hyphen in Profiler's
URL
Peter Somogyi created HBASE-23663:
-------------------------------------
Summary: 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: 2.1.5, 2.2.0, 3.0.0, 2.3.0
Reporter: Peter Somogyi
Assignee: Peter Somogyi
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)