contractor icon indicating copy to clipboard operation
contractor copied to clipboard

Contractor is GIGO

Open elementaryBot opened this issue 8 years ago • 1 comments

Passing invalid URIs, e.g. file paths that are not URI-encoded and/or not prepended with file://, prints no errors but produces invalid results:

  • In single-uri (%u) contracts every second parameter isn't passed to client.
  • In file contracts (%f and %F) the parameters are not passed to clients at all.

This is the behavior of http://www.valadoc.org/#!api=gio-2.0/GLib.AppInfo.launch_uris and Contractor does not perform validity checks before passing parameters to it.

Launchpad Details: #LP1165481 Sergey "Shnatsel" Davidoff - 2013-04-06 18:00:34 +0000

elementaryBot avatar Apr 11 '17 04:04 elementaryBot

Does the rewrite affect this?

Launchpad Details: #LPC Cody Garver - 2013-04-22 19:37:46 +0000

elementaryBot avatar Apr 11 '17 04:04 elementaryBot