wicd-cli doesn't allow values with spaces

Bug #1599797 reported by danigm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

wicd-cli removes quotes from the command line when passing values with spaces.

With this command:

$ wicd-cli -y -n 0 -p key -s "hi people"

wicd will receive "hi" as value.

I've found that this is happening because the script /usr/bin/wicd-cli, the $@ removes quotes, to fix this it's only needed to add quotes to the $@, so the correct script should be:

exec /usr/bin/python -O /usr/share/wicd/cli/wicd-cli.py "$@"

Tags: wicd-cli
Revision history for this message
danigm (danigm) wrote :
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.