Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit b6188ce

Browse files
authored
Merge pull request #229 from lpmi-13/address_unsafe_links
add attribute for unsafe links and fix protocol typo
2 parents 0d711ae + 65a879b commit b6188ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

assets/sales/pricing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ <h1 class="white">Pricing for searchcode server.</h1>
9393
<tr>
9494
<th scope="row"></th>
9595
<td><div style="margin-top:14px;"><a id="communitydownload" href="https://searchcodeserver.com/searchcode-server-community.tar.gz" class="top20">Free Community Edition</a></div></td>
96-
<td><a data-gumroad-single-product="true" target="_blank" class="gumroad-button" href="https://gum.co/spTnp">Buy now $99</a></td>
97-
<td><a data-gumroad-single-product="true" target="_blank" class="gumroad-button" href="https://gum.co/XJVCH">Buy now $699</a></td>
96+
<td><a data-gumroad-single-product="true" target="_blank" rel="noopener noreferrer" class="gumroad-button" href="https://gum.co/spTnp">Buy now $99</a></td>
97+
<td><a data-gumroad-single-product="true" target="_blank" rel="noopener noreferrer" class="gumroad-button" href="https://gum.co/XJVCH">Buy now $699</a></td>
9898
</tr>
9999
</tbody>
100100
</table>

src/main/resources/spark/template/freemarker/admin_settings.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<tr>
4444
<td></td>
4545
<td>Empty this field to reset. Should be in format similar to the below.
46-
This format can be created using <a target="_blank"
46+
This format can be created using <a target="_blank" rel="noopener noreferrer"
4747
href="http://www.dailycoding.com/Utils/Converter/ImageToBase64.aspx">Online
4848
Image to Base64 Converter</a>
4949
but consider resizing the image to a height of 24 px first.

src/main/resources/spark/template/freemarker/documentation.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
</p>
255255

256256
<h3 id="estimatedcost">Estimated Cost</h3>
257-
<p>The estimated cost for any file or project is created using the <a target="_blank"
257+
<p>The estimated cost for any file or project is created using the <a target="_blank" rel="noopener noreferrer"
258258
href="https://en.wikipedia.org/wiki/COCOMO">Basic
259259
COCOMO</a>
260260
algorithmic software cost estimation model. The cost reflected includes design, coding, testing,
@@ -957,7 +957,7 @@ String myHmac = HmacUtils.hmacSha512Hex(MYPRIVATEKEY, PARAMSTOHMAC);</textarea>
957957
<#if isCommunity??>
958958
<#if isCommunity == true>
959959
You are using the community edition of searchcode server. As such you will be unable to change anything here. If you would like the ability to configure the settings page
960-
you can purchase a copy at <a href="hhttps://searchcodeserver.com/pricing.html">https://searchcodeserver.com/pricing.html</a>
960+
you can purchase a copy at <a href="https://searchcodeserver.com/pricing.html">https://searchcodeserver.com/pricing.html</a>
961961
</#if>
962962
</#if>
963963

0 commit comments

Comments
 (0)