Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Javascript form submit / redirection not working after update to Firefox 56

  • 4 odpovědi
  • 42 má tento problém
  • 3 zobrazení
  • Poslední odpověď od the-edmeister

more options

Hello, in a web site login form, that has been working on firefox and stills does work in Explorer and Chrome.

After updating to Firefox 56 , the form does not work anymore. It is on a HTTP site, the form submit is done by javascript by submitting the form from it.

Inspecting the network request, the web form (created by JS) sits at: "http://ip_address/" The action value of the form has a value like: "http://ip_address/login/indice/test" But submitting the form shows in the developer mode that the values sent (correct parameter names and correct values) , get send to "http://ip_address/" instead of "http://ip_address/login/indice/test"

If i log directly to "http://ip_address/login/indice/test" in Firefox and get the login page, and try to log in from there (having shown in the URL of the browser the ending "/login/indice/test"), the login does work.

This is not necessary in any other browser and in firefox 55 and below, when accessing to "http://ip_address/", and submitting the form, values get submitted to "http://ip_address/login/indice/test" and log in or have error message correctly shown.

So not sure if it is a problem with of javascript, or a problem following a redirect command from the server, or having the form submit to a different method from JS, any help is appreciated

Hello, in a web site login form, that has been working on firefox and stills does work in Explorer and Chrome. After updating to Firefox 56 , the form does not work anymore. It is on a HTTP site, the form submit is done by javascript by submitting the form from it. Inspecting the network request, the web form (created by JS) sits at: "http://ip_address/" The action value of the form has a value like: "http://ip_address/login/indice/test" But submitting the form shows in the developer mode that the values sent (correct parameter names and correct values) , get send to "http://ip_address/" instead of "http://ip_address/login/indice/test" If i log directly to "http://ip_address/login/indice/test" in Firefox and get the login page, and try to log in from there (having shown in the URL of the browser the ending "/login/indice/test"), the login does work. This is not necessary in any other browser and in firefox 55 and below, when accessing to "http://ip_address/", and submitting the form, values get submitted to "http://ip_address/login/indice/test" and log in or have error message correctly shown. So not sure if it is a problem with of javascript, or a problem following a redirect command from the server, or having the form submit to a different method from JS, any help is appreciated

Zvolené řešení

This has been fixed, apparently the JS framework wrapper that sets the action method was being ignored in firefox 56.

Accessing the dom form element directly (no the JS framework element), and setting the action value to the URL wanted, before submitting the form using JS, solved the issue.

Přečíst dotaz v kontextu 👍 3

Všechny odpovědi (4)

more options

Zvolené řešení

This has been fixed, apparently the JS framework wrapper that sets the action method was being ignored in firefox 56.

Accessing the dom form element directly (no the JS framework element), and setting the action value to the URL wanted, before submitting the form using JS, solved the issue.

more options

I upgraded to Firefox 56.0.1 for MacOS (10.12.3) this morning and now cannot log in to Qantas (the Australian flag carrier airline) because the login box does not appear in Firefox nor do any text links work (ie the pointer doesn't change to a hand and you can't click on it.) No problem with Safari. Based on above and viewing the website with "Inspector" I guess that <script defer="" src="https://cdn.services.qantasloyalty.com/assets/widgets/login/v2/login.bundle.js"></script> is the problem but I have no clue as to how to sort this out. The URL is https://www.qantas.com/au/en.html I have also recently had to switch my default browser to Safari because even in the previous Firefox, the Financial Times website wasn't working properly

more options

I am also getting redirection issue in Firefox, on certain OS same browser is working properly on others it is not. Are there any logs I can share?

more options

hgulati This thread is about an older version of Firefox which is no longer supported. Please start your own questions thread. https://support.mozilla.org/en-US/products/firefox