[Frugalware-darcs] frugalware-current: activesupport-1.4.2-2-i686

VMiklos vmiklos at frugalware.org
Thu Jun 28 01:35:34 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070627233442-e2957-de21661ab2e0f6440b6ff99e5e419bf11c974470.gz;

[activesupport-1.4.2-2-i686
VMiklos <vmiklos at frugalware.org>**20070627233442
 added 6893.diff
 closes #2200
] {
addfile ./source/devel-extra/activesupport/6893.diff
hunk ./source/devel-extra/activesupport/6893.diff 1
+From: http://dev.rubyonrails.org/changeset/6893?format=diff&new=6893
+--- activesupport/lib/active_support/json/encoders/core.rb (revision 6443)
++++ activesupport/lib/active_support/json/encoders/core.rb (revision 6893)
+@@ -24,11 +24,13 @@
+         "\r" =>    '\r',
+         "\t" =>    '\t',
+         '"' =>     '\"',
+-        '\\' =>    '\\\\'
++        '\\' =>    '\\\\',
++	">" =>     '\076',
++	'<' =>     '\074'
+       }
+       
+       define_encoder String do |string|
+-        '"' + string.gsub(/[\010\f\n\r\t"\\]/) { |s|
++        '"' + string.gsub(/[\010\f\n\r\t"\\><]/) { |s|
+           ESCAPED_CHARS[s]
+         }.gsub(/([\xC0-\xDF][\x80-\xBF]|
+                  [\xE0-\xEF][\x80-\xBF]{2}|
hunk ./source/devel-extra/activesupport/FrugalBuild 6
-pkgrel=1
+pkgrel=2
hunk ./source/devel-extra/activesupport/FrugalBuild 12
-sha1sums=('c1a0381913763d7a51d35bb1c784a744e33bebf3')
+source=($source 6893.diff)
+sha1sums=('c1a0381913763d7a51d35bb1c784a744e33bebf3' \
+          '24cbc4069b2cedb6c0c1adde9372e34b13abf1cd')
}


More information about the Frugalware-darcs mailing list