← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1229441] [NEW] Mishandles %F as a single arg for multiple files

 

Public bug reported:

Hi,

Test show:
        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 /proc/uptime");

when /proc/version and /proc/uptime should be separate args when calling
foo.

Cheers,

** Affects: upstart-app-launch
     Importance: High
         Status: New

** Changed in: upstart-app-launch
   Importance: Undecided => High

-- 
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/1229441

Title:
  Mishandles %F as a single arg for multiple files

Status in Upstart Application Launcher:
  New

Bug description:
  Hi,

  Test show:
          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 /proc/uptime");

  when /proc/version and /proc/uptime should be separate args when
  calling foo.

  Cheers,

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


Follow ups

References