summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2022-01-04 11:05:47 -0600
committerMike Gorse <mgorse@suse.com>2022-09-09 10:46:17 -0500
commit24a101061f88b5ce6238e7d08fbca4566bd1d498 (patch)
tree688fb47c55a359f0cb51bb281dfc834e5e235fb7
parent9e221fbea8d10ea0374da25890687ecf7173e383 (diff)
downloadat-spi2-core-24a101061f88b5ce6238e7d08fbca4566bd1d498.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
-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 4f154f19..0f6286a4 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -313,7 +313,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