[misc] Replace '@' with '{at}' to deter spammers.

This commit is contained in:
Solomon Peachy 2012-11-08 20:33:39 -05:00
parent 4f63cd33e6
commit ec0663677d
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ v2.38 (Unreleased)
[fix] Fix thumbnail URI in RSS feeds.
[fix] Better handling when importing images in parallel.
[fix] Abort import if a DB insert fails [#466]
[misc] Replace '@' with '{at}' in copyright blurb to deter spammers.
2.37 (September 27, 2010)

View File

@ -503,6 +503,7 @@ switch ($detail_info) {
if ($photo_data['copyright_statement']) {
print "<tr>".emit_td($strings['generic_copyright']);
$photo_data['copyright_statement'] = preg_replace('/@/', '{at}', $photo_data['copyright_statement']);
print emit_td($photo_data['copyright_statement']);
print "</tr>\n";
}