Skip to content

[LOW] Handle Internet Explorer versions without Trident - #77

Open
OskarEichler wants to merge 1 commit into
gshutler:masterfrom
OskarEichler:codex/handle-ie-without-trident
Open

OskarEichler wants to merge 1 commit into
gshutler:masterfrom
OskarEichler:codex/handle-ie-without-trident

Conversation

@OskarEichler

@OskarEichler OskarEichler commented Aug 30, 2026 •

Copy link
Copy Markdown

Security impact (LOW)

A request-controlled pre-Trident or incomplete Internet Explorer User-Agent can make real_version sort nil with a version object and raise. Applications that expose this parser metadata can turn one malformed header into a request error.

The failure is request-local and only occurs when real_version is queried, so the impact is low.

Fix

Fall back to the reported IE version when no Trident engine is present.

Verification

  • Existing suite: 1,321 examples, 0 failures on Ruby 4.0.6 and 3.2.11.
  • Focused IE 7 and incomplete Trident models return a version without exceptions.
  • Combined targeted mutation pass: 2,966 variants derived from 175 existing corpus agents, 0 exception classes after all related robustness patches.

Breaking changes

None. A previously raised case now returns the reported version.

@OskarEichler OskarEichler changed the title Handle Internet Explorer versions without Trident [LOW] Handle Internet Explorer versions without Trident Sep 3, 2026
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