diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index f17209fa06fbe1621d1dcde790c7ddadd30bc384..98618be4168e467e51cadb74711a68bbb7c69601 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -241,8 +241,9 @@ class Pathname
   end
 
   def compression_type
-    # Don't treat jars as compressed
+    # Don't treat jars or wars as compressed
     return nil if self.extname == '.jar'
+    return nil if self.extname == '.war'
 
     # OS X installer package
     return :pkg if self.extname == '.pkg'