[ 
https://issues.apache.org/jira/browse/HBASE-23663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-23663:
-----------------------------------
    Fix Version/s:     (was: 2.2.4)
                   2.2.3

> 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.2.3, 2.1.9
>
>
> 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)

Reply via email to