Bug 1418671
Summary: | browser fills in irelevant data in "Operating System" tab during New Host dialogue | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Veaceslav Mindru <vmindru> |
Component: | Hosts | Assignee: | Tomer Brisker <tbrisker> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.6 | CC: | bbuckingham, ehelms, inecas, jcallaha, lhellebr, mmccune, tbrisker, tram0004+redhat, vvasilev, zhunting |
Target Milestone: | Unspecified | Keywords: | Triaged, UserExperience |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:54:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Veaceslav Mindru
2017-02-02 13:34:09 UTC
as a side note the autocomplete attribute should be avoided at all in those form. http://www.w3schools.com/tags/att_input_autocomplete.asp autocomplete is to indicate a browser that browser can prefill that field, this is the wrong behavior of this forms. https://www.w3.org/TR/2014/REC-html5-20141028/forms.html#attr-fe-autocomplete also as side note the autcomplete attribute seems to be added only in HTML5 version https://www.w3.org/TR/html401/interact/forms.html#h-17.4 though I might have misinterpreted the standards. OH Snap. I am using: google-chrome Version 56.0.2924.87 (64-bit), and this happens only in the "Opearting System" tab. I tried to ask other colleagues to reproduce this and they are not able :(. VM OH Snap. I am using: google-chrome Version 56.0.2924.87 (64-bit), and this happens only in the "Opearting System" tab. I tried to ask other colleagues to reproduce this and they are not able :(. VM Version 57.0.2987.19 (Official Build) dev (64-bit) - I am able to reproduce with latest beta version. As a side node I tried to remove all applications and disable all extensions to make this go away, no luck. Nether the less this is still caused due to autocomplete=off this attr simply should not be there, there is no data a browser should prefill instead of Sat6 Operator. Ok I have found what exactly get's prefilled into those fields, this is saved "user/password" data it pre feels the login. and found the reason credit for the fellow http://stackoverflow.com/a/15917221/5534949 ``` I've just found that if you have a remembered username and password for a site, the current version of Chrome will autofill your username/email address into the field before any type=password field. It does not care what the field is called - just assumes the field before password is going to be your username. ``` and we do have a password field under OS tab. as solution I suggest following: 1) get rid of autcomplete at all cause it makes no sens there 2) if autcomplete is a must for some strange reason maybe make it autocomplete="false" 3) or autocomplete="new-password" on the password field, we don't want it there at all. VM Created redmine issue http://projects.theforeman.org/issues/20610 from this bug Upstream bug assigned to tbrisker Upstream bug assigned to tbrisker Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20610 has been resolved. Verified with 6.3 snap 29. Used Chromium 56.0.2924.87 (in OpenSUSE Docker container, zypper install chromium in correct version, ssh -X to the container and run 'chromium --no-sandbox'). On the Satellite, have some kickstart channel synced. Hosts -> Create, fill in CV, CS, LE. Tab Operating System, fill in arch, OS, Medium, Partition table. Nothing gets prefilled in the process, no problems noticed. Fill in the rest of required fields, submit -> the dialogue works. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> >
> > For information on the advisory, and where to find the updated files, follow the link below.
> >
> > If the solution does not work for you, open a new bug report.
> >
> > https://access.redhat.com/errata/RHSA-2018:0336
Confirmed this bug still exists in Satellite 6.5 with Chrome 76.0.3809.132 (Official Build) (64-bit). |