From d5a6e590b85f5ad4567218491d0f848e005b5f48 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 10 May 2010 10:12:45 -0400 Subject: [PATCH] Add clarification to spec about UpdateActivationEnvironment UpdateActivationEnvironment takes a a{ss}. This means only valid UTF-8 can be used. Environment variables are normally ascii, but in theory have no specific encoding to them. This means that certain valid environment variables can't be sent to the bus for updating its activation environment. This commit just adds a note to the spec explaining this restriction. --- doc/dbus-specification.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 71574c0c1..250f6b848 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -3992,6 +3992,9 @@ Some bus instances, such as the standard system bus, may disable access to this method for some or all callers. + + Note, both the environment variable names and values must be valid UTF-8. There's no way to update the activation environment with data that is invalid UTF-8. + -- 2.47.3