ustcweizhou commented on a change in pull request #3419: console-proxy: fix
potential NPE condition
URL: https://github.com/apache/cloudstack/pull/3419#discussion_r296684359
##########
File path: core/src/main/java/com/cloud/info/ConsoleProxyInfo.java
##########
@@ -56,14 +56,12 @@ public ConsoleProxyInfo(boolean sslEnabled, String
proxyIpAddress, int port, int
private String formatProxyAddress(String consoleProxyUrlDomain, String
proxyIpAddress) {
StringBuffer sb = new StringBuffer();
// Domain in format *.example.com, proxy IP is 1.2.3.4 -->
1-2-3-4.example.com
- if (consoleProxyUrlDomain.startsWith("*")) {
Review comment:
LGTM
----------------------------------------------------------------
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