| Index: Source/core/loader/FormSubmission.cpp
|
| diff --git a/Source/core/loader/FormSubmission.cpp b/Source/core/loader/FormSubmission.cpp
|
| index 09bfb9e2704fd8ad83da589640c30d99c686b9f8..13fb0e9f93e2d3c3bb62b4335e1178bfe7c624e5 100644
|
| --- a/Source/core/loader/FormSubmission.cpp
|
| +++ b/Source/core/loader/FormSubmission.cpp
|
| @@ -161,7 +161,7 @@ PassRefPtr<FormSubmission> FormSubmission::create(HTMLFormElement* form, const A
|
| if (!(attributeValue = submitButton->getAttribute(formtargetAttr)).isNull())
|
| copiedAttributes.setTarget(attributeValue);
|
| }
|
| -
|
| +
|
| Document* document = form->document();
|
| KURL actionURL = document->completeURL(copiedAttributes.action().isEmpty() ? document->url().string() : copiedAttributes.action());
|
| bool isMailtoForm = actionURL.protocolIs("mailto");
|
| @@ -223,7 +223,7 @@ KURL FormSubmission::requestURL() const
|
| return m_action;
|
|
|
| KURL requestURL(m_action);
|
| - requestURL.setQuery(m_formData->flattenToString());
|
| + requestURL.setQuery(m_formData->flattenToString());
|
| return requestURL;
|
| }
|
|
|
|
|