ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 4 პასუხი
  • 42 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 51 ნახვა
  • ბოლოს გამოეხმაურა the-edmeister

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

გადაწყვეტა შერჩეულია

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.

პასუხის ნახვა სრულად 👍 3

ყველა პასუხი (4)

შერჩეული გადაწყვეტა

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.

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

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?

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