From 96437c78e751d59190a95a225c0d1a7c8c4e614e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Mar 2016 11:27:59 -0400 Subject: [PATCH] Don't check that the name is a branch Don't call xdg_app_is_valid_branch() to verify an application name. Use xdg_app_is_valid_name(). --- app/xdg-app-builtins-build-bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/xdg-app-builtins-build-bundle.c b/app/xdg-app-builtins-build-bundle.c index cd7a89fe..a52981b3 100644 --- a/app/xdg-app-builtins-build-bundle.c +++ b/app/xdg-app-builtins-build-bundle.c @@ -144,7 +144,7 @@ xdg_app_builtin_build_bundle (int argc, char **argv, GCancellable *cancellable, file = g_file_new_for_commandline_arg (filename); - if (!xdg_app_is_valid_branch (name)) + if (!xdg_app_is_valid_name (name)) return xdg_app_fail (error, "'%s' is not a valid name", name); if (!xdg_app_is_valid_branch (branch))