Skip to content

Commit

Permalink
Corrected string index out of range (JENKINS-25466)
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Jacobsson committed Nov 7, 2014
1 parent 7b3bb07 commit f8f9096
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -14,7 +14,7 @@
${b.fieldValue}
</j:if>

<j:if test="${(b.href != null) &amp;&amp; (b.href.length() > 6) &amp;&amp; (b.href.substring(0,7) != 'http://') &amp;&amp; (b.href.substring(0,8) != 'https://')}" >
<j:if test="${(b.href != null) &amp;&amp; (b.href.length() > 6) &amp;&amp; (b.href.substring(0,7) != 'http://') &amp;&amp; (b.href.length() > 7) &amp;&amp; (b.href.substring(0,8) != 'https://')}" >
<a href="${buildn}${b.href}">${b.fieldValue}</a>
</j:if>
</span>
Expand Down

0 comments on commit f8f9096

Please sign in to comment.