Publishing a document to a website via PUT, if subject to temporary redirect (HTTP response code 307), pops a warning dialog concerning POST operations

RESOLVED WORKSFORME

Status

()

Core
Networking: HTTP
RESOLVED WORKSFORME
11 years ago
2 years ago

People

(Reporter: Paul Hammant, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1

nsHttpChannel.cpp :-

    // if we need to re-send POST data then be sure to ask the user first.
    PRBool preserveMethod = (redirectType == 307);
    if (preserveMethod && mUploadStream) {
        rv = PromptTempRedirect();
        if (NS_FAILED(rv)) return rv;
    }

The text of the message is to do with POST, yet more than just POST can have temp redirects in force.  

Can the message be changed? 
Can there be a tick box "Remember this decision" or similar.

Reproducible: Always

Steps to Reproduce:
1. Edit a page on a web server with temp redirects in force for the PUT only.
2. Try to publish back 
3. Not the warning dialog.



Refer usage of the following in necko.properties.

RepostFormData=This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?
Can you reproduce with SeaMonkey v1.1.9 ?
Version: unspecified → SeaMonkey 1.1 Branch
Assignee: composer → nobody
QA Contact: composer

Comment 2

6 years ago
This is Core backend stuff so pushing to more relevant Product/Component
Component: Composer → Networking: HTTP
Product: SeaMonkey → Core
QA Contact: composer → networking.http
Version: SeaMonkey 1.1 Branch → Trunk

Updated

6 years ago
OS: Mac OS X → All
Hardware: PowerPC → All
line 25 -- RepostFormData=This web page is being redirected to a new location. Would you like to resend the form data you have typed to the new location?
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.