This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

GPO Search Engine: spaces replaced with pluses instead of %20

  • 5 amsoshi
  • 0 sa na da wannan matsala
  • 2 views
  • Amsa ta ƙarshe daga Mike Kaply

more options

Good day.

I have created a custom Search Engine via a GPO.

The search engine is added to Firefox without issue. However, when a user enters in a search with a space, Firefox replaces the space with a "plus" instead of a %20. The search engine does not know how to interpret a "plus," so the search engine returns 'no results found.' I use the same search string in a Chrome GPO, and it works as Chrome replaces a space with a %20. Is there a way I can tweak the Search engine GPO to use %20 instead of a "plus" for a space?

Thanks.

Peter

Good day. I have created a custom Search Engine via a GPO. The search engine is added to Firefox without issue. However, when a user enters in a search with a space, Firefox replaces the space with a "plus" instead of a %20. The search engine does not know how to interpret a "plus," so the search engine returns 'no results found.' I use the same search string in a Chrome GPO, and it works as Chrome replaces a space with a %20. Is there a way I can tweak the Search engine GPO to use %20 instead of a "plus" for a space? Thanks. Peter
Hoton allon fuska da aka liƙa

All Replies (5)

more options

Odd, I've never seen a search engine not support + (all the major engines do).

I'll see what I can figure out.

more options

Can you post the full URL you are using? I ran a test using + signs and it worked for me using the keyword search generated by Firefox.

more options

Here is the full URL.

https://search.prairiecat.info/iii/encore/search/C__S[({searchTerms})]__Ff:facetcollections:45:45:Talcott+Free+Library::__Orightresult?lang=eng&suite=cobalt

When I add this in Chrome using Google's ADMX files, the search works fine.

The problem is with searches with spaces. So a search with a single word, like "Batman" works just fine. But a search with words with spaces, like "Wonder Woman," do not work.

Please let me know if I can provide any additional information.

Thanks again for your help.

more options

I'm not going to have a chance to look at this for a few weeks, but I want you to know that I will look at it. Sorry for the delay.

more options

I realize this is very old, but I did open a bug for this

https://bugzilla.mozilla.org/show_bug.cgi?id=1878781