spikespaz / search-deflector

A small program that forwards searches from Cortana to your preferred browser and search engine.
MIT License
889 stars 52 forks source link

bug when clicking the link from settings app #101

Open maratbakirov opened 3 years ago

maratbakirov commented 3 years ago

i am opening ink settings, there is a link "changing my pen battery". apparently clicking links from windows 10 settings app causes search deflector to crash.

Environmental Details

Browser: UNKNOWN STRING

Search Engine: UNKNOWN STRING

Custom browser path:

Custom search engine URL:

google.com/search?q={{query}}
Windows Version 1909
Build Number 18363
Edition Enterprise
Insiders Preview
inetsurface commented 3 years ago

Same here...

Bug Description

The error occurs when you click on Windows user interface links that lead to web help pages.

File: source\deflector.d

Line: 53

Message:

There was an error deflecting your search. Passed URI is:   microsoft-edge:https://www.bing.com/search?q=%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%20Windows%2010&form=B00032&ocid=SettingsHAQ-BingIA&mkt=ru-RU

How to Reproduce

Steps to reproduce the behavior:

  1. Go to 'Windows Settings'
  2. Click on any 'settings page that contains Web Help Links'
  3. Click on any 'link that lead to web search/help page'
  4. See error

2020-10-29_23-46-15

Expected Behavior

Default windows browser opened.

Environmental Details

Browser: Firefox

Search Engine: Google

Custom search engine URL:

google.com/search?q={{query}}
Windows Version 2009
Build Number 19042
Edition Pro