mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service)
This commit is contained in:
@@ -41,6 +41,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
m_gridService = gridInterComms;
|
||||
m_interRegion = gridInterComms;
|
||||
|
||||
m_secureinventoryServices = new OGS1SecureInventoryService(serversInfo.InventoryURL);
|
||||
OGS1InventoryService invService = new OGS1InventoryService(serversInfo.InventoryURL);
|
||||
AddInventoryService(invService);
|
||||
m_defaultInventoryHost = invService.Host;
|
||||
|
||||
@@ -2019,7 +2019,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
m_log.Info("[REGION]: Add New Scene Presence");
|
||||
|
||||
CommsManager.UserProfileCacheService.AddNewUser(client.AgentId);
|
||||
//CommsManager.UserProfileCacheService.AddNewUser(client.AgentId);
|
||||
CommsManager.UserProfileCacheService.AddNewUser(client);
|
||||
|
||||
CreateAndAddScenePresence(client, child);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user