root | 4 Jan 2007 22:47
Favicon

[mb-commits] r8767 - mb_server/branches/labels/cgi-bin/MusicBrainz/Server/Moderation

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)


Gmane