Index: Source/core/html/FormDataList.cpp |
diff --git a/Source/core/html/FormDataList.cpp b/Source/core/html/FormDataList.cpp |
index b564d2cc1021937fb99f861a154737020ea16a7c..2270f03e60fb9dae1bb58c92d4bad5ab98773559 100644 |
--- a/Source/core/html/FormDataList.cpp |
+++ b/Source/core/html/FormDataList.cpp |
@@ -130,12 +130,7 @@ void FormDataList::appendKeyValuePairItemsTo(FormData* formData, const WTF::Text |
} |
formData->appendData("\r\n", 2); |
} else { |
- // Omit the name "isindex" if it's the first form data element. |
- // FIXME: Why is this a good rule? Is this obsolete now? |
- if (encodedData.isEmpty() && key.data() == "isindex") |
- FormDataBuilder::encodeStringAsFormData(encodedData, value.data()); |
- else |
- FormDataBuilder::addKeyValuePairAsFormData(encodedData, key.data(), value.data(), encodingType); |
+ FormDataBuilder::addKeyValuePairAsFormData(encodedData, key.data(), value.data(), encodingType); |
} |
} |