Contractor is GIGO
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- desktop
Research direction
Start by reproducing the invalid URI cases described for single-uri and file contracts, then inspect how Contractor passes parameters to GLib.AppInfo.launch_uris. Done means invalid URIs are detected with an error and the affected contract parameters are passed correctly.
Written by the indexing model from the issue text.
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 Sergey "Shnatsel" Davidoff - 2013-04-06 18:00:34 +0000
- Dominant language
- Vala
- Stars
- 34
- Forks
- 11
- Avg merge
- 7h 17m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elementary/contractor
-
Priority: Wishlist
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elementary/contractor#34 · 3 comments ·
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
elementary/contractor#30 · 4 comments ·
-
Bounty
Difficulty 4/5 3-5 days Newbie friendliness 35/100
elementary/contractor#10 · 4 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
elementary/contractor#9 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
elementary/contractor#6 · 2 comments ·
All issues in elementary/contractor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Help-Wanted Package-Request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/winget-pkgs#438682 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
os:macos
Difficulty 2/5 1-3 hours Newbie friendliness 78/100