Skip to content

Commit

Permalink
Delete ilegal character in image data
Browse files Browse the repository at this point in the history
  • Loading branch information
jfontan committed Apr 3, 2013
1 parent f356a78 commit d34d81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def save_version(code_id, code)
:update => {
'$set' => {
:modified_at => time,
:image => code_data['image']
:image => code_data['image'].tr!(%q{"'><}, '')
},
'$push' => { :versions => data }
}
Expand Down

0 comments on commit d34d81b

Please sign in to comment.