Contractor is GIGO

Bug #1165481 reported by Sergey "Shnatsel" Davidoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Contractor
Confirmed
Undecided
Unassigned
0.3
Confirmed
Undecided
Unassigned

Bug 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.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :
summary: - In single-uri contracts every second parameter isn't passed to client
+ Contractor is GIGO
description: updated
Revision history for this message
Cody Garver (codygarver) wrote :

Does the rewrite affect this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.