Skip to content

Accept spaces in paths in http config setting #77

@Jackymancs4

Description

@Jackymancs4

Hello @makeworld-the-better-one
I'm using amfora 1.4 for linux on a Windows machine using WSL.

Obviously, in this setup there is no detectable GUI nor browser, so when trying to open an http link it fails.

To overcome this, I manually set the http setting value from default to /mnt/c/Program Files/Mozilla Firefox/firefox.exe.

Amfora then prompt me with:
Error executing custom browser command: fork/exec /mnt/c/Program: no such file or directory

It appears that the spaces in the path are not properly escaped.

So I chanced the setting to /mnt/c/Program\ Files/Mozilla\ Firefox/firefox.exe but again amfora prompt the error Error executing custom browser command: fork/exec /mnt/c/ProgramFiles/MozillaFirefox/firefox.exe: no such file or directory. which shows that the spaces have been removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions