← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1229440] Re: Doesn't handle spaces in URLs

 

** Changed in: upstart-app-launch
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Upstart Application Launcher.
https://bugs.launchpad.net/bugs/1229440

Title:
  Doesn't handle spaces in URLs

Status in Upstart Application Launcher:
  Fix Released

Bug description:
  Hi,

  upstart-app-launch doesn't handle spaces in URLs or in input filenames due to the way URLs are currently joined with space when passed to upstart-app-launch, and confirmed with e.g. this test:
          output = desktop_exec_parse("foo %f", "file:///proc/version file:///proc/uptime");
          ASSERT_EQ(output->len, 2);
          ASSERT_STREQ(g_array_index(output, gchar *, 0), "foo");
          ASSERT_STREQ(g_array_index(output, gchar *, 1), "/proc/version");

  This should be fixed soon in case unity or other apps start generating
  URLs with spaces.

  It relates to bug #1229354.

  Cheers,

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart-app-launch/+bug/1229440/+subscriptions


References