<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -203,6 +203,11 @@ module ActionView #:nodoc:
     @@cache_template_loading = nil
     cattr_accessor :cache_template_loading
 
+    # :nodoc:
+    def self.xss_safe?
+      true
+    end
+
     def self.cache_template_loading?
       ActionController::Base.allow_concurrency || (cache_template_loading.nil? ? !ActiveSupport::Dependencies.load? : cache_template_loading)
     end</diff>
      <filename>actionpack/lib/action_view/base.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4484f0bccf1b02ff1d05d7310afe2e572befce46</id>
    </parent>
  </parents>
  <author>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/cc1ad46eadfad2c617d897927eb4bc0c36e1d033</url>
  <id>cc1ad46eadfad2c617d897927eb4bc0c36e1d033</id>
  <committed-date>2009-10-14T21:22:50-07:00</committed-date>
  <authored-date>2009-10-14T21:16:51-07:00</authored-date>
  <message>Add a read-only method which plugin authors can use to determine if xss escaping.

This doesn't provide a way to turn off the escaping, but alternative template engine authors
can figure out what their default should be by calling this.  Avoids a messy version + plugin check.</message>
  <tree>202e75968954e28106da43d9de0e77ffd4a8feed</tree>
  <committer>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </committer>
</commit>
