We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6ff3a commit e50157dCopy full SHA for e50157d
server.rb
@@ -25,7 +25,7 @@
25
# Assume it's well formed
26
comment = { id: (Time.now.to_f * 1000).to_i }
27
req.query.each do |key, value|
28
- comment[key] = value.force_encoding('UTF-8')
+ comment[key] = value.force_encoding('UTF-8') unless key == 'id'
29
end
30
comments << comment
31
File.write(
0 commit comments