Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

  • 4 답장
  • 42 이 문제를 만남
  • 3 보기
  • 최종 답변자: 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

선택된 해결법

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)

more options

선택된 해결법

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