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

www.taiwanlottery.com.tw - Page design is broken #36659

Closed
maruku opened this issue Jul 30, 2019 · 4 comments
Closed

www.taiwanlottery.com.tw - Page design is broken #36659

maruku opened this issue Jul 30, 2019 · 4 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-content-security-policy Issues involving the CSP header or meta tags. type-no-css No CSS is displayed
Milestone

Comments

@maruku
Copy link

maruku commented Jul 30, 2019

URL: https://www.taiwanlottery.com.tw/

Browser / Version: Firefox 68.0
Operating System: Windows 7
Tested Another Browser: Yes

Problem type: Design is broken
Description: This site is broken when browsing using Firefox (It is normal when using chrome 75.0.3770.142 64bit)
Steps to Reproduce:
Open this site using Firefox 68.0.1 64 bit
Screenshot Description

Browser Configuration
  • None

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Jul 30, 2019
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine priority-normal labels Jul 30, 2019
@softvision-oana-arbuzov softvision-oana-arbuzov added type-no-css No CSS is displayed severity-critical The site or core functionality is unusable, or you would probably open another browser to use it. labels Jul 31, 2019
@softvision-oana-arbuzov softvision-oana-arbuzov changed the title www.taiwanlottery.com.tw - design is broken www.taiwanlottery.com.tw - Page design is broken Jul 31, 2019
@softvision-oana-arbuzov
Copy link
Member

softvision-oana-arbuzov commented Jul 31, 2019

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

Note:

  1. The issue is still reproducible even after disabling Tracking Protection and with a clean profile.
  2. Not reproducible on Chrome.

Console:
image

Tested with:
Browser / Version: Firefox Nightly 70.0a1 (2019-07-30)
Operating System: Windows 10 Pro

Moving to Needsdiagnosis for further investigation.

@wisniewskit
Copy link
Member

It looks like this is the problem:

Content Security Policy: Couldn’t parse invalid host ¡¥self¡¦

This is the full CSP header they're serving:

Content-Security-Policy: default-src ¡¥self¡¦; script-src ¡¥self¡¦

Chrome also is complaining about that in its web console, but it seems to be ignoring the header entirely, while Firefox is not. (If I alter the incoming headers to remove the CSP one, Firefox also loads fine).

I'm not sure what's right or wrong here, so I've filed bz-1570722. But I do know that the site really ought to fix this regardless, so I'm setting this one to needscontact.

@wisniewskit wisniewskit self-assigned this Aug 1, 2019
@wisniewskit wisniewskit added the type-content-security-policy Issues involving the CSP header or meta tags. label Aug 1, 2019
@cipriansv cipriansv modified the milestones: needscontact, fixed Nov 26, 2019
@cipriansv
Copy link

After retesting the issue I confirm that the issue has been fixed. The site is displayed with no CSS issues.

image

Tested with:
Browser / Version: Browser / Version: Firefox Nightly Mobile 72.0a1 (2019-11-25)
Operating System: Windows 10 Pro

Closing the issue as fixed.

@lock
Copy link

lock bot commented Dec 3, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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-content-security-policy Issues involving the CSP header or meta tags. type-no-css No CSS is displayed
Projects
None yet
Development

No branches or pull requests

5 participants