<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -146,7 +146,7 @@ module HoptoadNotifier
     # Overrides the rescue_action method in ActionController::Base, but does not inhibit
     # any custom processing that is defined with Rails 2's exception helpers.
     def rescue_action_in_public_with_hoptoad exception
-      notify_hoptoad(exception) unless ignore?(exception)
+      notify_hoptoad(exception) unless ignore?(exception) || ignore_user_agent?
       rescue_action_in_public_without_hoptoad(exception)
     end 
         
@@ -180,6 +180,10 @@ module HoptoadNotifier
       ignore_these = HoptoadNotifier.ignore.flatten
       ignore_these.include?(exception.class) || ignore_these.include?(exception.class.name)
     end
+    
+    def ignore_user_agent?
+      self.respond_to?(:request) &amp;&amp; request.user_agent &amp;&amp; request.user_agent =~ /(Microsoft Data Access Internet Publishing Provider DAV 1\.1)/
+    end
 
     def exception_to_data exception #:nodoc:
       data = {</diff>
      <filename>lib/hoptoad_notifier.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b54dce1581b9aaffab8c885a8470524110c0633c</id>
    </parent>
  </parents>
  <author>
    <name>Jonathan R. Wallace</name>
    <login>wallace</login>
    <email>jonathan.wallace@gmail.com</email>
  </author>
  <url>http://github.com/wallace/hoptoad_notifier/commit/6b7a1b27eeabf058a25ea4f11c38838f53131a98</url>
  <id>6b7a1b27eeabf058a25ea4f11c38838f53131a98</id>
  <committed-date>2009-02-27T17:54:59-08:00</committed-date>
  <authored-date>2009-02-27T17:54:59-08:00</authored-date>
  <message>Manually merging with binary logic's fork of hoptoad_notifier with small
modification to ignore errors generated by Microsoft Office Protocol
Discovery.

See
http://rails.learnhub.com/lesson/2318-dealing-with-microsoft-office-protocol-discovery-in-rails
and
http://github.com/binarylogic/hoptoad_notifier/commit/366560b0c0f6724e19d26335b39772824bca4c62.</message>
  <tree>f80da3dc7872f120f935eb5b43bce856e7500b9e</tree>
  <committer>
    <name>Jonathan R. Wallace</name>
    <login>wallace</login>
    <email>jonathan.wallace@gmail.com</email>
  </committer>
</commit>
