Closed Bug 10128 Opened 25 years ago Closed 25 years ago

sched - Form Submission (POST) not implemented in Necko.

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kyoung, Assigned: mcafee)

References

()

Details

Attachments

(1 file)

In forms that contain a select statement, M8 will not pass the correct
information when a POSt is used, however a GET will work.
Assignee: karnaze → pollmann
Reassigning to Eric.
I could find no forms on www.orent.com  Do you have a specific test case?  If
so, please attach it to this bug report, thanks!
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
This works for me!  I'm attaching a working testcase and marking invalid.  If
you have a testcase that does not work, please reopen the bug and attach the
testcase, thanks!
Attached file Working test case.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
I tried to verify this using the attached testcase, and lo and behold, it
doesn't work for me. 1999072311 build (Necko build), M9, Windows NT 4 SP 5.
Reopening and clearing resolution.
Status: REOPENED → ASSIGNED
The non-Necko build I just checked out (current to the hour) worked fine.  This
must be a Necko specific problem  I'll check it out.
This is a Necko bug, er, lack of implementation.  See the following code in
nsDocLoader.cpp:

1561     /* Store any POST data into the URL */
1562     if (nsnull != aPostData) {
1563 #ifdef NECKO
1564         NS_ASSERTION(0, "FIX ME");
1565 #else
1566         static NS_DEFINE_IID(kPostToServerIID, NS_IPOSTTOSERVER_IID);
1567         nsIPostToServer* pts;
1568
1569         rv = url->QueryInterface(kPostToServerIID, (void **)&pts);
1570         if (NS_SUCCEEDED(rv)) {
1571             const char* data = aPostData->GetData();
1572
1573             if (aPostData->IsFile()) {
1574                 pts->SendDataFromFile(data);
1575             }
1576             else {
1577                 pts->SendData(data, aPostData->GetDataLength());
1578             }
1579             NS_RELEASE(pts);
1580         }
1581 #endif
1582     }
Assignee: pollmann → warren
Status: ASSIGNED → NEW
Component: Form Submission → Necko
OS: Windows NT → All
Hardware: PC → All
Summary: Form Submission (POST) not passing Select items → Form Submission (POST) not implemented in Necko.
Target Milestone: M9
Not sure who to assign this to, but POSTing data to a server doesn't work for
Necko.  The comment "Fix Me" was written by Warren so I'm giving it to him!
I'm willing to lend a hand, so if you need it, let me know.
Blocks: 7232
Blocks: 10730
Summary: Form Submission (POST) not implemented in Necko. → sched - Form Submission (POST) not implemented in Necko.
See related bug 9208
Status: NEW → ASSIGNED
*** Bug 9208 has been marked as a duplicate of this bug. ***
Adding Steve and Myself to the cc list as we need this form submission (POST)
capability to test our Netcenter activation work.
Blocks: 9347
Chris Mcafee: Are you going to be able to help out with this? I've added an
NS_NewPostDataStream call to nsNeckoUtil.h that should allow you to get
started.
*** Bug 10439 has been marked as a duplicate of this bug. ***
Assignee: warren → mcafee
Status: ASSIGNED → NEW
Reassigning to Chris. He was working on this and was assigned to the dup.
*** Bug 11245 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Fixed.

test url is down for me.
Status: RESOLVED → VERIFIED
Bulk move of all Necko (to be deleted component) bugs to new Networking

component.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: