| Index: Source/web/WebSearchableFormData.cpp
|
| diff --git a/Source/web/WebSearchableFormData.cpp b/Source/web/WebSearchableFormData.cpp
|
| index 83579afe4580df768bd13ce9f41be7b4b5ef8ac5..9b0af4faf0909232b9ffe36ce6b047bf4e0adcea 100644
|
| --- a/Source/web/WebSearchableFormData.cpp
|
| +++ b/Source/web/WebSearchableFormData.cpp
|
| @@ -214,14 +214,10 @@ bool buildSearchString(const HTMLFormElement* form, Vector<char>* encodedString,
|
| const Vector<FormDataList::Item>& items = dataList.items();
|
|
|
| for (Vector<FormDataList::Item>::const_iterator j(items.begin()); j != items.end(); ++j) {
|
| - // Handle ISINDEX / <input name=isindex> specially, but only if it's
|
| - // the first entry.
|
| - if (!encodedString->isEmpty() || j->data() != "isindex") {
|
| - if (!encodedString->isEmpty())
|
| - encodedString->append('&');
|
| - FormDataBuilder::encodeStringAsFormData(*encodedString, j->data());
|
| - encodedString->append('=');
|
| - }
|
| + if (!encodedString->isEmpty())
|
| + encodedString->append('&');
|
| + FormDataBuilder::encodeStringAsFormData(*encodedString, j->data());
|
| + encodedString->append('=');
|
| ++j;
|
| if (control == textElement) {
|
| encodedString->append("{searchTerms}", 13);
|
|
|