Unable to use commas nor semicolons in Chrome/Edge native messaging manifest executable path on Windows

92 views Asked by At

I am building a browser extension for Microsoft Edge and Chrome.

I have the following native manifest file set up:

{
    "name": "io.github.glitterware.passy_cli",
    "description": "Passy CLI",
    "path": "C:\\Users\\User\\Documents\\Passy\\passy_cli\\temp\\bin\\passy_cli\\2023-05-14T14;59;45.321229\\passy_cli_native_messaging.bat",
    "type": "stdio",
    "allowed_extensions": [
        "[email protected]"
    ],
    "allowed_origins": [
        "chrome-extension://lndgiajgfcgocmgdiamhffipffjnpigl/"
    ]
}

I have tested that the extension works when the semicolons are replaced with dots.

Is there any way for me to use the path including semicolons?

EDIT 1

I have tested a manifest with semicolons on an Ubuntu system and it works properly as expected.

EDIT 2

Tried using ^; and \;, no luck so far. Found out that commas don't work either. As a temporary solution I'm using c as a replacement character.

0

There are 0 answers