Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 24571 by artdent: Custom search engine should encode space as %20  
instead of +
http://code.google.com/p/chromium/issues/detail?id=24571

Chrome Version       : 4.0.221.8 (Official Build 28160)
URLs (if applicable) : http://en.wikipedia.org/wiki/%s
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4: doesn't support custom search engines
   Firefox 3.x: OK
          IE 7: dunno
          IE 8: dunno

What steps will reproduce the problem?
1. Add a custom search engine with a destination of
http://en.wikipedia.org/wiki/%s
2. Search for "300 (film)" (sans quotes) using said search engine

What is the expected result?
I expect to be taken to http://en.wikipedia.org/wiki/300%20(film)

What happens instead?
I am taken to http://en.wikipedia.org/wiki/300+(film), which Wikipedia
does not interpret as an article title.

In the abstract, it is a subtle question which encoding is more correct. If
the constructed url is considered to be the result of a form submission,
spaces should be encoded using +; if the constructed url is just considered
to be a normal url with some parts filled in, spaces should be encoded
using %20.

In the concrete, however, I'll point out that Wikipedia is a prominent web
site that does not treat plus signs as spaces when they appear in its URLs.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to