RS, IZ; Maybe commited

This commit is contained in:
ilya 2010-06-26 00:58:24 -04:00
parent a7f6eaefdf
commit ad28f0cf82
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ class DashboardController < ApplicationController
def receive
store_posts_from_xml (params[:xml])
store_posts_from_xml CGI::unescape(params[:xml])
render :nothing => true
end

View file

@ -8,7 +8,7 @@ module Diaspora
def notify_friends
if self.person_id == User.first.id
xml = Post.build_xml_for(self)
@@queue.add_post_request( friends_with_permissions, xml )
@@queue.add_post_request( friends_with_permissions, CGI::escape(xml) )
@@queue.process
end
end