elementary / elementary/contractor

Contractor is GIGO

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
34
Forks
11
Avg merge
7h 17m
Merged PRs (30d)
1

Description

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](https://bugs.launchpad.net/bugs/1165481) Sergey "Shnatsel" Davidoff - 2013-04-06 18:00:34 +0000

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.