Skip to content

ADFA-5361 docs(adr): say why the WebView User-Agent is read and not pinned - #512

Merged
luisguzman-adfa merged 1 commit into
mainfrom
docs/ADFA-5361-adr-ua-note
Sep 1, 2026
Merged

ADFA-5361 docs(adr): say why the WebView User-Agent is read and not pinned#512
luisguzman-adfa merged 1 commit into
mainfrom
docs/ADFA-5361-adr-ua-note

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

The idea of setting our own suffix so the value is ours came up twice, independently, within one review. It does not hold: getUserAgentString() and the header the WebView sends are the same WebSettings, so there is nothing to pin, and setting one would add a string to maintain plus an "append, never replace" rule in exchange for protection against a drift the platform does not permit. It also would not close the failure it appears to address — a session rejected for any other reason still leaves a silent guest — for which the answer is verifying identity after load, not hardening the input.

Recorded so the next reader does not re-derive it.

…inned

The idea of setting our own suffix so the value is ours came up twice, independently, within one
review. It does not hold: getUserAgentString() and the header the WebView sends are the same
WebSettings, so there is nothing to pin, and setting one would add a string to maintain plus an
"append, never replace" rule in exchange for protection against a drift the platform does not
permit. It also would not close the failure it appears to address — a session rejected for any
other reason still leaves a silent guest — for which the answer is verifying identity after load,
not hardening the input.

Recorded so the next reader does not re-derive it.
@luisguzman-adfa
luisguzman-adfa merged commit 5089a33 into main Sep 1, 2026
2 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the docs/ADFA-5361-adr-ua-note branch September 1, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant