lib/Checked/Demand/Mods/File_Addresses.rb in Checked-0.1.2 vs lib/Checked/Demand/Mods/File_Addresses.rb in Checked-0.1.3
- old
+ new
@@ -36,10 +36,10 @@
def file_address!
self.target= target.strip
string!
not_empty!
- if target[%r!([^a-zA-Z0-9\.\_\-\/~]+)!]
+ if target[%r!([^a-zA-Z0-9\.\_\-\/~,]+)!]
fail! "...has invalid characters: #{$1.inspect}"
end
end
def file_read!