Closed Bug 16058 Opened 25 years ago Closed 25 years ago

"Method not allowed" when POSTing

Categories

(Core :: Networking, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: baldbass, Assigned: gagan)

References

()

Details

"The reqested method POST is not allowed for the URL /index.html
Assignee: don → gagan
Component: Browser-General → Necko
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I fixed this bug recently. You have to use recent builds to verify. This is the code I added to nsFormFrame::OnSubmit - interestingly, there was a difference in the way Necko's MakeAbsoluteURI worked versus the old netlib's MakeAbsoluteURL. Fun stuff... // Necko's MakeAbsoluteURI doesn't reuse the baseURL's rel path if it is // passed a zero length rel path. char* relPath = nsnull; docURL->GetSpec(&relPath); NS_ASSERTION(relPath, "Rel path couldn't be formed in form submit!\n"); if (relPath) { href.Append(relPath); nsCRT::free(relPath); } else { result = NS_ERROR_OUT_OF_MEMORY; }
Resetting QA contact from leger.
Status: RESOLVED → VERIFIED
Posting verified working on 1999112908.
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.