Repository navigation
Fix search engine redirection issue - #18
Conversation
hieuhqpham
left a comment
There was a problem hiding this comment.
A couple of feedback. Please fix.
hieuhqpham
left a comment
There was a problem hiding this comment.
Looks good. Please make sure to address edge cases before merging.
|
Wait, doesn't this cause problems with trying to visit unrelated URLs containing "=go/"? |
You are right. I missed that part in my review. cc: @dndquynh |
@iptq Thank you for the inputs. I want to go with the current option, otherwise, we might have to redesign the app with Omnibox APIs. For local DNS server, I talked to @hieupham7127 and he mentioned that we aren't looking to support beyond browser for now. |
Firefox prioritizes search engine over URL when using the address bar, which will use the search engine to "search" for the go link (go/example) instead of using the URL "http://go/example".
This fix aims to handle these default search engines: Google, Bing, Yahoo, Baidu, DuckDuckGo, Ecosia