当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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

  • 5 件の返信
  • 0 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: 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
添付されたスクリーンショット

すべての返信 (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