4 Jan 2007 22:47
[mb-commits] r8767 - mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation
<root <at> musicbrainz.org>
2007-01-04 21:47:57 GMT
2007-01-04 21:47:57 GMT
Author: luks
Date: 2007-01-04 21:47:57 +0000 (Thu, 04 Jan 2007)
New Revision: 8767
Modified:
mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation/MOD_EDIT_RELEASES.pm
Log:
Escape special characters.
Modified: mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation/MOD_EDIT_RELEASES.pm
===================================================================
---
mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation/MOD_EDIT_RELEASES.pm 2007-01-04
21:20:42 UTC (rev 8766)
+++
mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation/MOD_EDIT_RELEASES.pm 2007-01-04
21:47:57 UTC (rev 8767)
<at> <at> -33,6 +33,24 <at> <at>
sub Name { "Edit Release Events (old version)" }
(__PACKAGE__)->RegisterHandler;
+sub _EncodeText
+{
+ my $t = $_[0];
+ $t =~ s/\$/\$26/g;
+ $t =~ s/ /\$20/g;
+ $t =~ s/=/\$3D/g;
+ return $t;
+}
+
(Continue reading)
RSS Feed