зеркало из https://github.com/mozilla/gecko-dev.git
Bug 514377 - Pass SearchForm through ParamSubstitution(). r=gavin
This commit is contained in:
Родитель
bbac120a31
Коммит
16ff076bf3
|
@ -742,9 +742,8 @@ function QueryParameter(aName, aValue) {
|
||||||
* aParamValue as the value of the OS_PARAM_USER_DEFINED parameter.
|
* aParamValue as the value of the OS_PARAM_USER_DEFINED parameter.
|
||||||
* This value must already be escaped appropriately - it is inserted
|
* This value must already be escaped appropriately - it is inserted
|
||||||
* as-is.
|
* as-is.
|
||||||
* @param aQueryEncoding
|
* @param aEngine
|
||||||
* The value to use for the OS_PARAM_INPUT_ENCODING parameter. See
|
* The engine which owns the string being acted on.
|
||||||
* definition in the OpenSearch spec.
|
|
||||||
*
|
*
|
||||||
* @see http://opensearch.a9.com/spec/1.1/querysyntax/#core
|
* @see http://opensearch.a9.com/spec/1.1/querysyntax/#core
|
||||||
*/
|
*/
|
||||||
|
@ -2288,7 +2287,7 @@ Engine.prototype = {
|
||||||
this._searchForm = makeURI(htmlUrl.template).prePath;
|
this._searchForm = makeURI(htmlUrl.template).prePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this._searchForm;
|
return ParamSubstitution(this._searchForm, "", this);
|
||||||
},
|
},
|
||||||
|
|
||||||
get queryCharset() {
|
get queryCharset() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче