-
Notifications
You must be signed in to change notification settings - Fork 445
Fix #1963, Fix #1964 - URL bar alignment is off and secure page icon not showing #1971
Conversation
What is verdict on this? I mean how this PR works with etld+1 stuff? |
It works great. Basically we want to keep that it shows the ETLD+1 in the middle of the bar, but I reduced the amount of padding on the sides so it doesn't look like it's severely cut off.. However, @jhreis has asked someone if we're okay with how many icons are in the URL bar causing it to look really cluttered on iPhone 5S. Not sure the verdict on that part. |
thanks, 5S runs on iOS 12 and is a really small fraction of devices, this is definitely out of scope for this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lock icon is red for new tab page, reader mode and error pages is showing, and it's red color.
We should hide it
d6a583a
to
f2ab308
Compare
I fixed it for about page and reader mode by changing its colour back to the default or secure. Are you sure we should hide it? If we want to hide it, I can definitely do that but what about reader mode? Our GCD webserver has no cert or trust to evaluate so it will technically be insecure or undetermined. So when we switch back and forth from reader to non-reader mode, it will shift the URL every time if I hide it. |
@iccub the experience is same on iPhone SE. |
42d9669
to
da60cbe
Compare
da60cbe
to
15f2859
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait with merging until security review is finished
15f2859
to
5a78ee0
Compare
5a78ee0
to
acd81b7
Compare
1d086f4
to
27bb6a8
Compare
27bb6a8
to
af79dad
Compare
af79dad
to
bd5d487
Compare
7659157
to
3164491
Compare
…r security flaws in the Trust validation.
…olean. This allows us to determine what the state of the security truly is and allows us to display the correct lock icon for reader mode and about page.
… and decide the security level from there.
…e to the interstitial page and the GCD-WebServer, it redirects causes the icon to flash and keep the colour of the GCD-Server which is trusted and marked secure. This was a bug and is now fixed.
3164491
to
fd7cf6d
Compare
security review approved 👍 |
Security Review:
Summary of Changes
SecTrust
forWKWebView
(callingSecTrustEvaluate
was not enough.. I have added a list of policies to validate.. can be tested with https://badssl.com)Prior to these "small" changes, all tests against
badssl.com
would fail and show the page was secure when it wasn't.WIP:
This pull request fixes issue #1964 & #1963
Submitter Checklist:
NSLocalizableString()
Test Plan:
Screenshots:
Reviewer Checklist:
QA/(Yes|No)
release-notes/(include|exclude)
bug
/enhancement