Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Can't open a local file because file handling removes colon from the file path.

  • 1 ответ
  • 1 имеет эту проблему
  • 52 просмотра
  • Последний ответ от zeroknight

more options

Hi, I have a link in my website that opens a file in another desktop program. The link looks like this: openwith://C:/path/to/file, but after update to the latest Firefox version (v122.0) the second colon from the link is for some reason removed, resulting in a path like this: openwith://C/path/to/file. This is a problem because the path it now tries to open doesn't exist. Is this a deliberate feature in the new Firefox version or is it a bug? If it is a bug will it be fixed? It still works fine in v121.0.

Hi, I have a link in my website that opens a file in another desktop program. The link looks like this: openwith://C:/path/to/file, but after update to the latest Firefox version (v122.0) the second colon from the link is for some reason removed, resulting in a path like this: openwith://C/path/to/file. This is a problem because the path it now tries to open doesn't exist. Is this a deliberate feature in the new Firefox version or is it a bug? If it is a bug will it be fixed? It still works fine in v121.0.

Выбранное решение

Links with the format openwith://url need to be changed to openwith:url without the two forward slashes ("//") and Chrome will soon be the same (Bug 1876729).

You can revert this by changing network.url.useDefaultURI to false in about:config then restart the browser.

From the release notes:

The fallback URL parser for unknown schemes was changed to DefaultURI, this improves specification adherence and web compatibility.
Прочитайте этот ответ в контексте 👍 1

Все ответы (1)

more options

Выбранное решение

Links with the format openwith://url need to be changed to openwith:url without the two forward slashes ("//") and Chrome will soon be the same (Bug 1876729).

You can revert this by changing network.url.useDefaultURI to false in about:config then restart the browser.

From the release notes:

The fallback URL parser for unknown schemes was changed to DefaultURI, this improves specification adherence and web compatibility.

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.