fix regex for ruby 2

This commit is contained in:
Toks
2015-01-27 17:37:04 -05:00
parent d3ba5da8a4
commit 75bdc3fc63

View File

@@ -316,7 +316,7 @@ class Upload < ActiveRecord::Base
when /^CWS/, /^FWS/, /^ZWS/
"application/x-shockwave-flash"
when /^\x1a\x45\xdf\xa3/
when /^\x1a\x45\xdf\xa3/n
"video/webm"
when /^PK\x03\x04/