| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
lookup default browsers via `UrlAssociations\https\UserChoice` if protocol is not http/https ensures browser is opened for e.g. file:// URLs
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
Still awaiting review |
Sorry, something went wrong.
|
This PR is stale because it has been open for 90 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
lookup default browsers via UrlAssociations\https\UserChoice if protocol is not http/https. ensures webbrowser.open launches a web browser on Windows, even for URLs that are not http[s]. Only does the lookup for non-http URLs, limiting the impact of the change.
ensures browser is opened for e.g. file:// URLs, where startfile opens file by association. Launching custom protocols explicitly goes through the browser instead of through startfile. The end result is usually the same, after a prompt, unless the browser has explicit support/configuration for the protocol. Alternative: only lookup for file:// instead of not http[s]://.
Added extremely basic test exercise, the registry lookups are not actually covered, but I have tested them by hand. I'm not sure how to write good tests for the registry stuff.
Addresses gh-128540 on Windows only.
Open questions:
Links: