[Jifty-commit] r4658 - in jifty/trunk: lib/Jifty/View/Mason
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Dec 9 00:14:42 EST 2007
Author: jesse
Date: Sun Dec 9 00:14:41 2007
New Revision: 4658
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/View/Mason/Handler.pm
Log:
r72836 at pinglin: jesse | 2007-12-09 00:14:39 -0500
* nope - I'm wrong. bad benchmarking made me believe that the thing I am reverting was faster
Modified: jifty/trunk/lib/Jifty/View/Mason/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Mason/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/View/Mason/Handler.pm Sun Dec 9 00:14:41 2007
@@ -127,13 +127,13 @@
sub escape_utf8 {
my $ref = shift;
no warnings 'uninitialized';
- $$ref =~ s/&/&/gs;
- $$ref =~ s/</</gs;
- $$ref =~ s/>/>/gs;
- $$ref =~ s/\(/(/gs;
- $$ref =~ s/\)/)/gs;
- $$ref =~ s/"/"/gs;
- $$ref =~ s/'/'/gs;
+ $$ref =~ s/&/&/g;
+ $$ref =~ s/</</g;
+ $$ref =~ s/>/>/g;
+ $$ref =~ s/\(/(/g;
+ $$ref =~ s/\)/)/g;
+ $$ref =~ s/"/"/g;
+ $$ref =~ s/'/'/g;
}
=head2 escape_uri SCALARREF
More information about the Jifty-commit
mailing list