Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Bugfix FXIOS-6526 [v114] Update search urls (#3766) (#3767)
Browse files Browse the repository at this point in the history
(cherry picked from commit 90f3c2a)

Co-authored-by: Mark Banner <[email protected]>
  • Loading branch information
mergify[bot] and Standard8 authored May 30, 2023
1 parent 64b65ff commit e6073d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Search/SearchOverlays/baidu.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<SearchOverlay>
<replace target="//search:Param[@name='from' and @value='1000969a']">
<Param name="from" value="1000969b"/>
</replace>
<replace target="//search:Url[@type='application/x-moz-tabletsearch']">
<Url type="application/x-moz-tabletsearch" method="GET" template="https://m.baidu.com/s">
<Param name="from" value="1000969b"/>
<Param name="word" value="{searchTerms}"/>
</Url>
</replace>
Expand Down
3 changes: 0 additions & 3 deletions Search/SearchPlugins/zh-CN/baidu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,15 @@
<Param name="wd" value="{searchTerms}"/>
<Param name="action" value="opensearch"/>
<Param name="ie" value="UTF-8"/>
<Param name="from" value="1000969b"/>
</Url>
<Url type="text/html" method="GET" template="https://m.baidu.com/s">
<Param name="from" value="1000969b"/>
<Param name="word" value="{searchTerms}"/>
</Url>
<!-- As of Bug 861164, we can do a client-side detection to determine whether a user is using
tablet or a phone(relative to this case).
Note: The order of <URL> DOES not affect the way we pick between them.
-->
<Url type="application/x-moz-tabletsearch" method="GET" template="https://m.baidu.com/s">
<Param name="from" value="1000969b"/>
<Param name="word" value="{searchTerms}"/>
</Url>
<SearchForm>https://m.baidu.com/</SearchForm>
Expand Down

0 comments on commit e6073d4

Please sign in to comment.