-
Notifications
You must be signed in to change notification settings - Fork 606
Restore Security::ErrorDetail::detailEntry initialization #2364
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
Open
somecookie
wants to merge
10
commits into
squid-cache:master
Choose a base branch
from
measurement-factory:OSD-4-set-detailEntry
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Restore Security::ErrorDetail::detailEntry initialization #2364
somecookie
wants to merge
10
commits into
squid-cache:master
from
measurement-factory:OSD-4-set-detailEntry
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rousskov
approved these changes
Jan 30, 2026
Contributor
rousskov
left a comment
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.
Thank you for fixing this regression.
kinkie
approved these changes
Feb 1, 2026
Contributor
kinkie
left a comment
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.
Thanks!
squid-anubis
pushed a commit
that referenced
this pull request
Feb 1, 2026
2023 commit 4e14397 accidentally removed code that was setting `detailEntry` data member, breaking `%ssl_error_descr` expansion: `Security::ErrorDetail::printErrorDescription()` would always print `[Not available]`. Squid still printed non-configurable request-independent error code _name_ correctly because the corresponding `printErrorCode()` method only uses `detailEntry` as a performance optimization. The effects of this fix are visible, for example, in generated ERR_SECURE_CONNECT_FAIL error responses: ```diff - <p>[Not available]: /CN=...</p> + <p>Certificate does not match domainname: /CN=...</p> ``` This is a Measurement Factory project.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
M-cleared-for-merge
https://github.com/measurement-factory/anubis#pull-request-labels
M-failed-staging-checks
https://github.com/measurement-factory/anubis#pull-request-labels
S-could-use-an-approval
An approval may speed this PR merger (but is not required)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2023 commit 4e14397 accidentally removed code that was setting
detailEntrydata member, breaking%ssl_error_descrexpansion:Security::ErrorDetail::printErrorDescription()would always print[Not available].Squid still printed non-configurable request-independent error code
name correctly because the corresponding
printErrorCode()methodonly uses
detailEntryas a performance optimization.The effects of this fix are visible, for example, in generated
ERR_SECURE_CONNECT_FAIL error responses:
This is a Measurement Factory project.