Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when SSID contains directory characters #17

Open
A1rPun opened this issue Oct 19, 2017 · 1 comment
Open

Error when SSID contains directory characters #17

A1rPun opened this issue Oct 19, 2017 · 1 comment

Comments

@A1rPun
Copy link

A1rPun commented Oct 19, 2017

When I try to retrieve the password of the SSID /\/\r.g33l< I get the following error:

$ wifi-password
Error: Command failed: sudo cat /etc/NetworkManager/system-connections//\/\r.g33l<
cat: '/etc/NetworkManager/system-connections//\/\r.g33l<': No such file or directory

    at Promise.all.then.arr (/usr/lib/node_modules/wifi-password-cli/node_modules/execa/index.js:231:11)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

I originally posted this issue to wifi-password-cli but the concatenation happens in this library

@aflansburg
Copy link

I imagine that those characters would have to be escaped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants