From 4e7bce24235c7a5cd1afc1c6f3ec0db5366f23fc Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sun, 31 Aug 2025 14:53:39 -0700 Subject: [PATCH] more bug fixes --- Services/www/www/gxg-www.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Services/www/www/gxg-www.rb b/Services/www/www/gxg-www.rb index ab21880..e0c3500 100644 --- a/Services/www/www/gxg-www.rb +++ b/Services/www/www/gxg-www.rb @@ -929,13 +929,20 @@ module GxGwww the_uuid = parameters.to_s.to_sym if ::GxG::valid_uuid?(the_uuid) GxGwww::SOCKETS_SAFETY.synchronize { - GxGwww::SOCKETS[(the_uuid)].instance_variable_set(:@session, the_session['session_id']) + GxGwww::SOCKETS[(the_uuid)].instance_variable_set(:@session, the_session) + # GxGwww::SOCKETS[(the_uuid)].instance_variable_set(:@session, the_session['session_id']) GxGwww::SOCKETS[(the_uuid)].instance_variable_set(:@display, the_display) } if GxG::SERVICES[:www][:manifests][(the_session['session_id'])] connector = GxG::SERVICES[:www][:manifests][(the_session['session_id'])].connector_get(the_display) if connector connector.set_socket_uuid(the_uuid) + the_channel = ::GxG::CHANNELS.fetch_channel(the_uuid) + if the_channel + the_channel.secret = the_session["csrf"] + else + raise Exception, "Channel #{the_uuid.to_s.to_sym.inspect} Not Found." + end else raise Exception, "Connector Not Found." end