]> git.openstreetmap.org Git - rails.git/blobdiff - lib/potlatch.rb
Fix HTML escaping issues with user role icons
[rails.git] / lib / potlatch.rb
index 4d9fd1c23136ce4399c86551647debd059cd3522..605d69db33d1da9ab971fb33e1144349362848f1 100644 (file)
@@ -62,7 +62,7 @@ module Potlatch
 
     # Envelope data into AMF writeable form
     def self.putdata(index, n)
-      d = encodestring(index + "/onResult")
+      d = encodestring("#{index}/onResult")
       d += encodestring("null")
       d += [-1].pack("N")
       d += encodevalue(n)