summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2022-01-04 11:05:47 -0600
committerMike Gorse <mgorse@suse.com>2022-01-04 11:05:47 -0600
commitb18520775b7509d0b05d790db334780761be4423 (patch)
tree2ac755141326078f8238055acc42bf22e32a57ff /bus
parent7e4ba09e67d15e3ff8f84a473400f66d50a56799 (diff)
downloadat-spi2-core-b18520775b7509d0b05d790db334780761be4423.tar.gz
Really escape the bus address before passing to dbus-daemon
The last commit didn't actually used the escaped value. Oops! https://gitlab.gnome.org/GNOME/at-spi2-coire/issues/48
Diffstat (limited to 'bus')
-rw-r--r--bus/at-spi-bus-launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index 30cdad7e..d86e7d36 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -322,7 +322,7 @@ ensure_a11y_bus_daemon (A11yBusLauncher *app, char *config_path)
if (app->socket_name)
{
gchar *escaped_address = g_dbus_address_escape_value (app->socket_name);
- address_param = g_strconcat ("--address=unix:path=", app->socket_name, NULL);
+ address_param = g_strconcat ("--address=unix:path=", escaped_address, NULL);
g_free (escaped_address);
}
else