-
Bug
-
Resolution: Fixed
-
Major
-
classic login form (before 2.128), regular "Save" form submission buttons on the classic UI
-
-
Jenkins 2.173 to 2.201, removed from 2.202, 2.289 released Apr 20, 2021
HTML spec [[1]|https://w3c.github.io/uievents/#trusted-events] says "Most untrusted events will not trigger default actions, with the exception of the click event.". Now Firefox doesn't comply with the spec. When I try to fix the bug [[2]|https://bugzilla.mozilla.org/show_bug.cgi?id=1370630], a regression has happened on all Jenkins websites. Users can't login Jenkins websites with Firefox anymore. After some experiments, it seems the Jenkins websites detect the browser's user agent and use untrusted 'submit' event to start form submission when the current browser is Firefox. Changing the UA of Chrome to the same string as Firefox also block the form submission.
The steps I used to reproduce this problem
On Chrome
- Change UA to the same string as Firefox
- Navigate https://jenkins.qa.ubuntu.com/
- Click login
- Enter username/password and press 'log in' button
- Nothing happened
Expectation
Don't use untrusted events to start form submission on Jenkins websites.
[1] https://w3c.github.io/uievents/#trusted-events
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1370630
- causes
-
JENKINS-65585 incompatability between FormSubmission and HTMLUnit post Jenkins 2.289
- Closed
- is duplicated by
-
JENKINS-54333 Projects are triggered twice by "build with parameters"
- Reopened
- is related to
-
JENKINS-54570 Duplication of button click when uploading plugin
- Open
-
JENKINS-54333 Projects are triggered twice by "build with parameters"
- Reopened
-
JENKINS-54318 Jenkins Upgrade Now deletes new .war at restart
- Resolved
-
JENKINS-54261 Submit ( go ) on Email Template Testing produces blank screen
- Closed
- relates to
-
JENKINS-54551 Revert JENKINS-53462 if necessary
- Resolved
-
JENKINS-58296 Projects are triggered twice when using File Parameter and Firefox 67
- Resolved
- links to