blackfist / CIFGlue

Simple rails app to quickly add indicators to the Collective Intelligence Framework
10 stars 1 forks source link

No comma between alternateid and detecttime #42

Closed krmaxwell closed 12 years ago

krmaxwell commented 12 years ago

In index.csv.erb, we're missing a comma between alternateid and detecttime (strftime). Pull request coming to fix.

    <%= i.md5sum %>,<%= i.content %>,<%= i.ipaddress %>,<%= i.case %>,<%= i.alternateid ||= " " %><%= i.created_at.strftime('%Y-%m-%dT%H:%M:%SZ') %>,<%= indicator_url(i) %>,<%= i.Privacy %>

Also a regression on ebc2a73 cropped up that re-introduced leading spaces.