diff options
author | Eric Wong <e@80x24.org> | 2016-02-26 02:35:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-26 02:35:04 +0000 |
commit | 85ffb85da388fdc25c0d2f9d7faf3172efed110b (patch) | |
tree | 197e980e1dc57798af012b49a4ce74abd6a235e0 /lib/PublicInbox/ExtMsg.pm | |
parent | 7e91647ea774e6293026d5215fe65b75415d97a4 (diff) | |
download | public-inbox-85ffb85da388fdc25c0d2f9d7faf3172efed110b.tar.gz |
We cannot modify elements in any shared data strucutures shared between requests. Oops!
Diffstat (limited to 'lib/PublicInbox/ExtMsg.pm')
-rw-r--r-- | lib/PublicInbox/ExtMsg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index 09ee8d6e..912a675d 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -138,8 +138,8 @@ again: $code = 300; $s .= "\nPerhaps try an external site:\n\n"; my $env = $cgi->{env}; - foreach my $u (@EXT_URL) { - $u = PublicInbox::Hval::prurl($env, $u); + foreach my $url (@EXT_URL) { + my $u = PublicInbox::Hval::prurl($env, $url); my $r = sprintf($u, $href); my $t = sprintf($u, $html); $s .= qq{<a\nhref="$r">$t</a>\n}; |