Add support to https protocol for logo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114691 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
</j:if>
|
||||
<!-- set image to relative or complete -->
|
||||
<j:set var="image" value="${pom.organization.logo}"/>
|
||||
<j:if test="${!image.startsWith('http://')}">
|
||||
<j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
|
||||
<j:set var="image" value="${relativePath}${image}"/>
|
||||
</j:if>
|
||||
<a href="${home}" id="organizationLogo">
|
||||
@@ -93,7 +93,7 @@
|
||||
<j:if test="${logo != null and logo != ''}">
|
||||
<!-- set image to relative or complete -->
|
||||
<j:set var="image" value="${pom.logo}"/>
|
||||
<j:if test="${!image.startsWith('http://')}">
|
||||
<j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
|
||||
<j:set var="image" value="${relativePath}${image}"/>
|
||||
</j:if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user