Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: core
-
Labels:
-
Environment:classic login form (before 2.128), regular "Save" form submission buttons on the classic UI
-
Similar Issues:
-
Released As:Jenkins 2.173 to 2.201, removed from 2.202
Description
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
Attachments
Issue Links
- is duplicated by
-
JENKINS-54333 Projects are triggered twice by "build with parameters"
-
- Closed
-
- is related to
-
JENKINS-54570 Duplication of button click when uploading plugin
-
- Open
-
-
JENKINS-54318 Jenkins Upgrade Now deletes new .war at restart
-
- Resolved
-
-
JENKINS-54333 Projects are triggered twice by "build with parameters"
-
- Closed
-
-
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
-
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Won't Fix [ 2 ] | |
Status | To Do [ 10003 ] | Done [ 10004 ] |
Resolution | Won't Fix [ 2 ] | |
Status | Done [ 10004 ] | To Do [ 10003 ] |
Component/s | core [ 15593 ] | |
Component/s | core [ 21434 ] | |
Key | WEBSITE-454 | JENKINS-53462 |
Workflow | WEBSITE: Software Development Workflow [ 225179 ] | JNJira + In-Review [ 231329 ] |
Project | Jenkins Website [ 10401 ] | Jenkins [ 10172 ] |
Status | To Do [ 10003 ] | Open [ 1 ] |
Environment | All Jenkins websites. e.g. https://jenkins.qa.ubuntu.com/ |
Any Jenkins login form |
Assignee | Thorsten Scherler [ tscherler ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | lts-candidate |
Link |
This issue is related to |
Link |
This issue is related to |
Link |
This issue relates to |
Link | This issue is related to JENKINS-54570 [ JENKINS-54570 ] |
Link |
This issue is related to |
Released As | Jenkins 2.173 | |
Assignee | Thorsten Scherler [ tscherler ] | Daniel Beck [ danielbeck ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Fixed but Unreleased [ 10203 ] |
Status | Fixed but Unreleased [ 10203 ] | Resolved [ 5 ] |
Environment |
Any Jenkins login form |
classic login form (before 2.128), regular "Save" form submission buttons on the classic UI |
Labels | lts-candidate | 2.164.3-fixed |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Assignee | Daniel Beck [ danielbeck ] | |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Released As | Jenkins 2.173 | Jenkins 2.173 to 2.2.201, removed from 2.202 |
Released As | Jenkins 2.173 to 2.2.201, removed from 2.202 | Jenkins 2.173 to 2.201, removed from 2.202 |