util: XDG_SESSION_COOKIE is unsuitable as session ID
authorLennart Poettering <lennart@poettering.net>
Tue, 15 May 2012 12:04:31 +0000 (14:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 15 May 2012 12:04:31 +0000 (14:04 +0200)
commit8a55219599879439a25b00069975a0e81927a5a8
tree298bff1c828f6d2b037b98b3abdb57eb666293e9
parent8f540c6e7679e57440b5a3c4f6bfdf91611e745b
util: XDG_SESSION_COOKIE is unsuitable as session ID

XDG_SESSION_COOKIE was supposed to be used for access control to the
session and should not be exposed to other users.

Replace usage of XDG_SESSION_COOKIE by XDG_SESSION_ID which is the right
choice here since it is actually a proper session ID that may be
published.
src/pulsecore/core-util.c