Skip to content
Snippets Groups Projects
Commit 6cbe4075 authored by Raphael's avatar Raphael
Browse files

CGI unescape incoming salmons

parent a7206943
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ module Diaspora
module UserModules
module Receiving
def receive_salmon salmon_xml
salmon = Salmon::SalmonSlap.parse salmon_xml, self
salmon = Salmon::SalmonSlap.parse(CGI::unescape salmon_xml, self)
if salmon.verified_for_key?(salmon.author.public_key)
Rails.logger.info("data in salmon: #{salmon.parsed_data}")
self.receive(salmon.parsed_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment