not escaping "/" characters
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 14 Mar 2005 00:00:37 +0000 (00:00 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 14 Mar 2005 00:00:37 +0000 (00:00 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@223 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/JSON.pm

index c878f86..0711049 100644 (file)
@@ -219,7 +219,6 @@ sub perl2JSON {
                $output .= perl2JSON(undef,$perl);
        } else {
                $perl =~ s{\\}{\\\\}sgo;
-               $perl =~ s{\/}{\\\/}sgo;
                $perl =~ s/"/\\"/sgo;
                $perl =~ s/\t/\\t/sgo;
                $perl =~ s/\f/\\f/sgo;