Uh oh!
There was an error while loading. Please reload this page.
HBASE-28514: HBase web console automatically listing directories in static/css - #5830
HBASE-28514: HBase web console automatically listing directories in static/css#5830Kota-SH wants to merge 1 commit into
Conversation
Apache-HBase
commented
Apr 15, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache9
commented
Apr 21, 2024
Mind explaining a bit? Thanks. |
stoty
commented
Apr 24, 2024
The changes look OK. My concern is whether this breaks existing functionality. |
Kota-SH
commented
Apr 24, 2024
@Apache9 Thanks for the review! |
Kota-SH
commented
Apr 24, 2024
@stoty Thanks for the review. |
| <init-param> | ||
| <param-name>dirAllowed</param-name> | ||
| <param-value>true</param-value> | ||
| <param-value>false</param-value> |
There was a problem hiding this comment.
This looks like a general default setting to me, @Kota-SH .
Apache-HBase
commented
Jun 5, 2024
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 5, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 5, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jun 5, 2024
🎊 +1 overall
This message was automatically generated. |
| ServletContextHandler staticContext = new ServletContextHandler(parent, "/static"); | ||
| staticContext.setResourceBase(appDir + "/static"); | ||
| staticContext.addServlet(DefaultServlet.class, "/*"); | ||
| staticContext.addServlet(AdminAuthorizedServlet.class, "/*"); |
There was a problem hiding this comment.
What does AdminAuthorizedServlet do ?
We don't want to limit the static folder to admin users.
Jira: https://issues.apache.org/jira/browse/HBASE-28514