diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-09-04 14:50:02 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-09-04 14:50:02 +0200 |
commit | 6cf4d24a09d765bebb32f852c45eec887ebf8add (patch) | |
tree | 0113d6dfde2cc4adc8facfd5f825681ccb852579 /document-portal | |
parent | 7ad47c74ea08ef9afc1732d0858a0ada16ff72e3 (diff) | |
download | xdg-app-6cf4d24a09d765bebb32f852c45eec887ebf8add.tar.gz |
document-portal: Use xdg_app_is_valid_name() to validate app names
Diffstat (limited to 'document-portal')
-rw-r--r-- | document-portal/xdp-fuse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document-portal/xdp-fuse.c b/document-portal/xdp-fuse.c index 1d53e34..434814f 100644 --- a/document-portal/xdp-fuse.c +++ b/document-portal/xdp-fuse.c @@ -889,7 +889,7 @@ xdp_lookup (fuse_ino_t parent, break; case BY_APP_INO: - if (g_dbus_is_name (name) && !g_dbus_is_unique_name (name)) + if (xdg_app_is_valid_name (name)) { guint32 app_id = get_app_id_from_name (name); *inode = make_inode (APP_DIR_INO_CLASS, app_id); |