Edge sends 'GET' instead of 'POST' when submitting a form with target='_blank'

Issue #11126248 • Assigned to Steven K.

Details

Author
Christophe L.
Created
Mar 1, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

When I open the attached HTLM file with Edge, Edge sends a ‘GET’ request instead of a ‘POST’ request.

I have tested this with the following server, written in NodeJS:

var server = require('http').createServer(function(req, res) { res.end(req.method); });
server.listen(3000);

With Internet Explorer, Chrome, Firefox, Opera and Safari, the server response is 'POST’.
With Edge, the server response is ‘GET’

Edited on March 3: After further investigation, I think that the problem comes from the popup blocker (Advanced settings/Block pop-ups):
When the pop-up blocker is turned off, Edge behaves as expected.
When the pop-up blocker is turned on, this message appears: “Microsoft Edge blocked a pop-up from…” If I click the "Allow once” button, the pop-up is allowed, but a wrong request is sent to the server.

Edited on March 17: I added the HTML file as attachment, because the HTLM code was not displayed correctly in my original message.

Attachments

1 attachment

Comments and activity

  • Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

  • After having edited the "Steps to reproduce”, a part of my text is replaced with "Edge issue". So I to try to put the missing text here: the content of the file to open is:

    
    
       
          
          Edge issue
    
       
    
       
          
       
    
    
    
    
  • The file content in my previous comment is still not displayed correctly: Only the Javascript code is displayed. The original HTML file also contains these tags: DOCTYPE, html, head, meta, title, body, script.
    I don’t know how to insert readable HTML code in my comments…

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi Christophe,

    Thank you for submitting this issue.  You can add the html and js files as attachments.  That would be helpful, however, I believe your comments should provide enough repro information.

    I am investigating now as well.

    The MS Edge Team

  • Changed Steps to Reproduce

  • Hi Steven,
    Thank you for investigating my issue. As you suggested, I added the HTML file as attachment.

You need to sign in to your Microsoft account to add a comment.

Sign in