summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-23 11:42:31 +0100
committerJochen Topf <jochen@topf.org>2013-01-23 11:42:31 +0100
commitc601fa9d219e846f1651751e003f6b6c9e8f7d7f (patch)
treec03b278db5445ed5a8a67fda18e33a02ff116b65
parent313b67a57a71be3265d0c2b81cb77a06b1179df5 (diff)
downloadtaginfo-c601fa9d219e846f1651751e003f6b6c9e8f7d7f.tar
taginfo-c601fa9d219e846f1651751e003f6b6c9e8f7d7f.tar.gz
Another place, same bug #16
-rw-r--r--web/lib/api/v4/relation.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/lib/api/v4/relation.rb b/web/lib/api/v4/relation.rb
index 82ffd15..9cc8137 100644
--- a/web/lib/api/v4/relation.rb
+++ b/web/lib/api/v4/relation.rb
@@ -138,13 +138,13 @@ class Taginfo < Sinatra::Base
:title => h(row['title']),
:description => h(row['description']),
:image => {
- :title => h(row['image']),
+ :title => row['image'],
:width => row['width'].to_i,
:height => row['height'].to_i,
- :mime => h(row['mime']),
- :image_url => h(row['image_url']),
- :thumb_url_prefix => h(row['thumb_url_prefix']),
- :thumb_url_suffix => h(row['thumb_url_suffix'])
+ :mime => row['mime'],
+ :image_url => row['image_url'],
+ :thumb_url_prefix => row['thumb_url_prefix'],
+ :thumb_url_suffix => row['thumb_url_suffix']
}
}
}.to_json