busbey commented on a change in pull request #261: HBASE-22467 UI fixes to
enable Knox proxying
URL: https://github.com/apache/hbase/pull/261#discussion_r288251010
##########
File path:
hbase-http/src/main/java/org/apache/hadoop/hbase/http/ProfileOutputServlet.java
##########
@@ -37,6 +38,8 @@
private static final long serialVersionUID = 1L;
private static final Logger LOG =
LoggerFactory.getLogger(ProfileOutputServlet.class);
private static final int REFRESH_PERIOD = 2;
+ // Alphanumeric characters, plus percent (url-encoding), equals, and
ampersand
+ private static final Pattern ALPHA_NUMERIC =
Pattern.compile("[a-zA-Z0-9\\%\\=\\&]*");
Review comment:
nit:should also accept a literal `+` for spaces I think?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services