RS, IZ; Maybe commited
This commit is contained in:
parent
a7f6eaefdf
commit
ad28f0cf82
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue