[
https://issues.apache.org/jira/browse/HBASE-23663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-23663:
----------------------------------
Fix Version/s: 2.2.4
2.1.9
2.3.0
3.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed PR to branch-2.1+.
> 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)