You are not logged in.

#1 2025-12-08 09:26:28

jronald
Member
Registered: 2022-05-09
Posts: 213

[SOLVED] search in chromium address bar not expected

e.g.
When search "a b c" in chromium address bar, the url is "https://www.bing.com/search?q=a+b+c".
When search "a b c" in the web page, the url is "https://www.bing.com/search?q=a%20b%20c".

PROBLEM
Usually the search result of the 2nd case is what's expected.

QUESTION
Can it work in the web page way when search via address bar?

Last edited by jronald (2025-12-10 10:20:34)

Offline

#2 2025-12-08 09:54:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,675

Re: [SOLVED] search in chromium address bar not expected

When search "a b c" in the web page, the url is "https://www.bing.com/search?q=a%20b%20c".

Not in my bing… what makes you think this would yield different search results?

Online

#3 2025-12-08 10:15:28

jronald
Member
Registered: 2022-05-09
Posts: 213

Re: [SOLVED] search in chromium address bar not expected

seth wrote:

what makes you think this would yield different search results?

I have tested it.
Just try the hard-coded urls and compare the results.

Offline

#4 2025-12-08 10:20:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,675

Re: [SOLVED] search in chromium address bar not expected

The show the exact same results. At least for your example.

Online

#5 2025-12-08 13:50:26

jronald
Member
Registered: 2022-05-09
Posts: 213

Re: [SOLVED] search in chromium address bar not expected

OK, I've just tested "deepseek-ocr flash-attention".
For www.bing.com,  the results are the same.
For cn.bing.com, the results are quite different.

Last edited by jronald (2025-12-08 13:50:39)

Offline

#6 2025-12-08 16:46:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,675

Re: [SOLVED] search in chromium address bar not expected

I can confirm that the chinese page actually uses %20 to join the input (though the results stay the same, but that might relate to generally how bing behaves in china vs. elsewhere, the chinese page suggests and searches for "winnie the pooh" and afaiu that's not a thing *in* china)

The urls bars just substitute %s for a search token to generate the final url, I've not seen this configurable anywhere - you'd likely have to patch the browser code.
(nb. that searching for "foo%20bar" will not work since the browser will simply encode the "%")

Online

#7 2025-12-10 10:19:13

jronald
Member
Registered: 2022-05-09
Posts: 213

Re: [SOLVED] search in chromium address bar not expected

UPDATE

When using "q=%S" instead of "q=%s",
though in the address bar, the url is the form "a%20b%20c" instead of "a+b+c",
the result is still as expected,
it is very diffent from the result from searching in the web page.

---

As I guess, changing "https://cn.bing.com/search?q=%s&ensearch=1" to "https://cn.bing.com/search?q=%S&ensearch=1" solves the problem, smile

Last edited by jronald (2025-12-13 03:44:58)

Offline

Board footer

Powered by FluxBB