rcmaehl / MSEdgeRedirect

A Tool to Redirect News, Search, Widgets, Weather and More to Your Default Browser
https://MSEdgeRedirect.com
GNU Lesser General Public License v3.0
3.93k stars 92 forks source link

Fix Windows Spotlight "Learn more about this picture" #426

Open floatchallenged opened 2 weeks ago

floatchallenged commented 2 weeks ago

Windows Spotlight creates a Learn more about this picture icon on the desktop that on right click opens Spotlight UI and on left click directs to a Bing URL.

When left clicking, this URL is truncated by MSEdgeRedirect causing a 400 error. For example, https://www.bing.com/spotlight?spotlightid=ParaglidersLakeAchensee&q=Achen+Lake%2C+Tyrol%2C+Austria becomes https://www.bing.com/spotlight?spotlightid=ParaglidersLakeAchensee.

This fix removes the spotlightid (sometimes spotlightId) parameter and converts and replaces the spotlight segment with search, keeping the query parameter, to redirect the URL to the user preferred search engine.