Click packages with spaces in file name fail to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scope-click (Ubuntu) |
Fix Released
|
High
|
Alejandro J. Cura |
Bug Description
I had the udm download an app that was saved as "/home/
From the udm log:
I0318 18:01:39.834267 5341 process.cpp:54] start /bin/sh-c pkcon -p install-local $0 && dbus-send /com/canonical/
I0318 18:01:40.051970 5341 process.cpp:85] Transaction: Installing files
I0318 18:01:40.052274 5341 process.cpp:85] Results:
Fatal error: could not resolve: /home/phablet/
I0318 18:01:40.056455 5341 filename_
Looks like there's an escaping issue.
Related branches
- Michal Hruby (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu One hackers: Pending requested
-
Diff: 79 lines (+35/-1)3 files modifiedscope/click/download-manager.cpp (+2/-1)
scope/click/download-manager.h (+1/-0)
scope/tests/test_download_manager.cpp (+32/-0)
Changed in unity-scope-click (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in unity-scope-click (Ubuntu): | |
assignee: | nobody → Alejandro J. Cura (alecu) |
Changed in unity-scope-click (Ubuntu): | |
status: | Confirmed → In Progress |
This bug was fixed in the package unity-scope-click - 0.1+14. 04.20140326- 0ubuntu1
--------------- 04.20140326- 0ubuntu1) trusty; urgency=low
unity-scope-click (0.1+14.
[ Alejandro J. Cura ]
* Fix quoting of pkcon command so filenames with spaces don't break
(LP: #1294631)
[ Rodney Dawes ]
* Drop the old vala based scope.
* Add errors handling in the reviews backend. Move Cancellable to
click::web:: namespace for re-use elsewhere.
-- Ubuntu daily release <email address hidden> Wed, 26 Mar 2014 14:50:01 +0000