Skip to content

Commit 605a531

Browse files
authored
Update VM_global_library.vm (Typo in email template)
Fixed a small error I noticed on password reset emails when it provides the IP address that requested the password reset, along with a link to see more info about that IP address. There was a typo (used to be ip-adress.com), right now this still redirects to ipaddress.com, but in the future it might not. We don't know who might be Typosquatting this incorrect url in the future. Furthermore, ipaddress.com has a lot of ads, so again, not a nice experience for a RSpace user who has clicked on it. I've replaced ip-adress.com with ip-lookup.net.
1 parent 81f513d commit 605a531

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/resources/velocityTemplates/VM_global_library.vm

+4-4
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@
103103
## and linking to a site that resolves the IP address.
104104
#macro(emailSourceIpFooter $ipAddress )
105105
<div style="font-size:80%">
106-
#emailSourceIpFooter_content1($ipAddress) <a href="http://www.ip-adress.com/ip_tracer/$ipAddress">ip-adress.com</a>.
106+
#emailSourceIpFooter_content1($ipAddress) <a href="https://ip-lookup.net/index.php?ip=$ipAddress">ip-lookup.net</a>.
107107
</div>
108108
#end
109109

110110
#macro(emailSourceIpFooter_Plaintext $ipAddress )
111-
#emailSourceIpFooter_content1($ipAddress) http://www.ip-adress.com/ip_tracer/$ipAddress
111+
#emailSourceIpFooter_content1($ipAddress) https://ip-lookup.net/index.php?ip=$ipAddress
112112
#end
113113

114-
http://www.ip-adress.com/ip_tracer/${ipAddress}
114+
https://ip-lookup.net/index.php?ip=${ipAddress}
115115

116116

117117
#macro(emailSourceIpFooter_content1 $ipAddress )
@@ -226,4 +226,4 @@ Too many notifications? Set your messaging preferences in MyRSpace -> My Profile
226226

227227
#macro(imgThumbnailSrc $fieldId $itemId $width $height $rotation $tsMillis)
228228
/thumbnail/data?sourceType=IMAGE&sourceId=$itemId&sourceParentId=$fieldId&width=$width&height=$height&rotation=$rotation&time=$tsMillis
229-
#end
229+
#end

0 commit comments

Comments
 (0)