Skip to content

Commit 2bf437f

Browse files
authored
Merge pull request #306 from maximillions-dev/fix/dns-ipv6-truncation
fix: wrap IPv6 addresses in DNS records card to prevent visual truncation
2 parents f2848a2 + 79a8cbe commit 2bf437f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

β€Žsrc/client/components/Results/TlsConnection.tsxβ€Ž

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Card } from 'client/components/Form/Card';
22
import Row from 'client/components/Form/Row';
3+
import colors from 'client/styles/colors';
34

45
const yesNo = (v: boolean) => (v ? 'βœ… Yes' : '❌ No');
56

@@ -30,7 +31,12 @@ const TlsConnectionCard = (props: {
3031
{d.alpnProtocol && <Row lbl="ALPN" val={d.alpnProtocol} />}
3132
<Row lbl="Forward Secrecy" val={yesNo(!!d.forwardSecrecy)} />
3233
<Row lbl="Session Resumption" val={yesNo(!!d.sessionResumption)} />
33-
<Row lbl="OCSP Stapling" val={ocspStatus(!!d.ocspStapled)} />
34+
<Row lbl="OCSP Stapling" val="">
35+
<span className="lbl">OCSP Stapling</span>
36+
<span className="val" style={{ color: colors.info }}>
37+
{d.ocspStapled ? 'β“˜ Present' : 'β“˜ Not Present'} β€” may impact visitor privacy
38+
</span>
39+
</Row>
3440
<Row
3541
lbl="Certificate Trust"
3642
val={d.authorized ? 'βœ… Trusted' : `❌ ${d.authError || 'Untrusted'}`}

0 commit comments

Comments
Β (0)