Skip to content

Fix issue connecting to networks with quotes #88

@josegonzalez

Description

@josegonzalez

When the entry has a quote mark, the parsing fails

echo "Test' Network:password" | xargs
xargs: unterminated quote

I do the xargs trick to remove trailing whitespace. I should check if we can use sed for this:

echo "Test' Network:password" | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//'

At worst, just ignore the xargs and assume the passwords do not have trailing whitespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions