Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 1 trả lời
  • 1 gặp vấn đề này
  • 52 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Giải pháp được chọn

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.
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (1)

more options

Giải pháp được chọn

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.

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.