You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars George (JIRA)" <ji...@apache.org> on 2009/04/03 12:42:12 UTC

[jira] Updated: (HBASE-1298) master.jsp & table.jsp do not URI Encode table or region names in links

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

Lars George updated HBASE-1298:
-------------------------------

    Attachment: 1298.patch

Attached patch fixes href issues with non URL safe characters in region names.

> 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, 0.19.1
>         Environment: HBase Version	0.19.0, r735381
> Hadoop Version	0.19.0, r713890
>            Reporter: Hoss Man
>             Fix For: 0.20.0
>
>         Attachments: 1298.patch, table.jsp.jpg
>
>
> "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.