<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -70,7 +70,9 @@ module FastenTheSeatBelt
             
     def save_attributes
       return unless @file
+      # The following line is solving an IE6 problem. This removes the C:\Documents and Settings\.. shit
       @file[:filename] = File.basename(@file[:filename].gsub(/\\/, '/')) if @file[:filename]
+      
       # Setup attributes
       [:content_type, :size, :filename].each do |attribute|
         self.send(&quot;#{attribute}=&quot;, @file[attribute])
@@ -171,7 +173,7 @@ module FastenTheSeatBelt
         
         next if ((self.images_are_compressed == false) || (Merb.env==&quot;test&quot;))
         
-        if quality and ![&quot;image/jpeg&quot;, &quot;image/jpg&quot;].include?(self.content_type) 
+        if quality and ![&quot;image/jpeg&quot;, &quot;image/jpg&quot;, &quot;image/pjpeg&quot;].include?(self.content_type) 
           puts &quot;FastenTheSeatBelt says: Quality setting not supported for #{self.content_type} files&quot;
           next
         end</diff>
      <filename>lib/fasten-the-seat-belt.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1816f1ade73bdbc530a84ea69d1940737f42ba71</id>
    </parent>
  </parents>
  <author>
    <name>Maxime</name>
    <email>maxime@maxime.local</email>
  </author>
  <url>http://github.com/maxime/merb-fasten-the-seat-belt/commit/c8007d3664d96b6625ff4e698f2afacccba53792</url>
  <id>c8007d3664d96b6625ff4e698f2afacccba53792</id>
  <committed-date>2008-08-05T07:26:24-07:00</committed-date>
  <authored-date>2008-08-05T07:26:24-07:00</authored-date>
  <message>Cleaning more IE6 shit</message>
  <tree>dcb78dfc6aea5f64c58507565137045d7db6ec05</tree>
  <committer>
    <name>Maxime</name>
    <email>maxime@maxime.local</email>
  </committer>
</commit>
