Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebanking.wesleyanbank.co.uk - Page design is broken #91425

Closed
webcompat-bot opened this issue Oct 26, 2021 · 3 comments
Closed

ebanking.wesleyanbank.co.uk - Page design is broken #91425

webcompat-bot opened this issue Oct 26, 2021 · 3 comments
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. type-http
Milestone

Comments

@webcompat-bot
Copy link

webcompat-bot commented Oct 26, 2021

URL: https://ebanking.wesleyanbank.co.uk/CustomerLogins

Browser / Version: Firefox 93.0
Operating System: Windows 10
Tested Another Browser: Yes Edge

Problem type: Design is broken
Description: Items are misaligned
Steps to Reproduce:
Home page looks ok. clicked log in then under Wesleyan Bank online clicked log in to Wesleyan Bank. the next page is just text no graphics

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added the action-needsmoderation The moderation has not yet been completed label Oct 26, 2021
@webcompat-bot webcompat-bot added this to the needstriage milestone Oct 26, 2021
@webcompat-bot webcompat-bot added the browser-fixme This requires manual assignment for the browser name label Oct 26, 2021
@webcompat-bot webcompat-bot changed the title In the moderation queue. ebanking.wesleyanbank.co.uk - design is broken Oct 27, 2021
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine and removed browser-fixme This requires manual assignment for the browser name action-needsmoderation The moderation has not yet been completed labels Oct 27, 2021
@softvision-oana-arbuzov
Copy link
Member

Thanks for the report, I was able to reproduce the issue.
image

Note:

  1. The issue is not reproducible on Chrome.
  2. The issue is reproducible on Firefox Nightly regardless of the ETP status.

Console:
image

Tested with:
Browser / Version: Firefox Nightly 95.0a1 (2021-10-26), Firefox Release 93.0
Operating System: Windows 10 Pro

Moving to Needsdiagnosis for further investigation.

@softvision-oana-arbuzov softvision-oana-arbuzov added priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. labels Oct 27, 2021
@softvision-oana-arbuzov softvision-oana-arbuzov changed the title ebanking.wesleyanbank.co.uk - design is broken ebanking.wesleyanbank.co.uk - Page design is broken Oct 27, 2021
@wisniewskit
Copy link
Member

I see this:

Content Security Policy: Couldn’t parse invalid host â��noneâ��
Content Security Policy: Couldn’t parse invalid host â��selfâ�� 3
Content Security Policy: Couldn’t parse invalid host â��noneâ��

And of course, that's followed by this:

Content Security Policy: The page’s settings blocked the loading of a resource at https://ebanking.wesleyanbank.co.uk/assets/css/styles-output.css?v=1.0 (“style-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at https://ebanking.wesleyanbank.co.uk/assets/images/WesLogo.svg (“img-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at https://ebanking.wesleyanbank.co.uk/favicon.ico (“img-src”). resource:191:19

So it's an interop issue with how CSP headers are parsed, and this is what Firefox sees:

Content-Security-Policy: default-src �none�; img-src �self�; script-src �self�; style-src �self�; object-src �none�

Chrome seems to see the same thing:

X-Content-Security-Policy: default-src ‘none’; img-src ‘self’; script-src ‘self’; style-src ‘self’; object-src ‘none’

And weirdly, if I copy-as-Curl, I get a gibberish binary response from the server, so I'm not sure what's going on there. (or a blank response from Chrome's copy-as-Curl).

This reminds me of bz1497742 but I'm not sure if it's the same. I'll ping and ask something on the Firefox networking team, but the site can presumably fix this quite easily by not writing out control characters in their CSP headers, and we might be able to do a site patch for this without too much trouble.

@karlcow karlcow assigned karlcow and unassigned wisniewskit Mar 11, 2022
@karlcow
Copy link
Member

karlcow commented Mar 14, 2022

@karlcow karlcow closed this as completed Mar 14, 2022
@karlcow karlcow modified the milestones: needsdiagnosis, moved Mar 14, 2022
@karlcow karlcow removed their assignment May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine priority-normal severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. type-http
Projects
None yet
Development

No branches or pull requests

4 participants