master.jsp & table.jsp do not URI Encode table or region names in links
-----------------------------------------------------------------------

                 Key: HBASE-1298
                 URL: https://issues.apache.org/jira/browse/HBASE-1298
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.19.0
         Environment: HBase Version     0.19.0, r735381
Hadoop Version  0.19.0, r713890
            Reporter: Hoss Man


"UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the 
start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"

"/table.jsp?name=userdata" lists a link to 
"/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" 
which is incorrect because the "+" character is not properly URI Encoded.  This 
results in a misleading user error message: "This region is no longer 
available. It may be due to a split, a merge or the name changed. "  manually 
escaping the "+" character as "%2B" produces the correct output.

A quick skim of master.jsp suggests it has a similar problem: it doesn't URI 
Encode table names when constructing links to table.jsp


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to