Support legacy EMAIL env var as deprecated fallback for GDPR_EMAIL#781
Merged
Support legacy EMAIL env var as deprecated fallback for GDPR_EMAIL#781
EMAIL env var as deprecated fallback for GDPR_EMAIL#781Conversation
…cy policy Agent-Logs-Url: https://github.com/librespeed/speedtest/sessions/337248e4-5c7a-4472-ad3b-381e0cd29c96 Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix missing developer email address in privacy policy
Support legacy Apr 12, 2026
EMAIL env var as deprecated fallback for GDPR_EMAIL
Contributor
Review Summary by QodoSupport legacy EMAIL env var as GDPR_EMAIL fallback
WalkthroughsDescription• Support legacy EMAIL env var as deprecated fallback for GDPR_EMAIL • Emit deprecation warning when EMAIL is used instead of GDPR_EMAIL • Update documentation to guide users toward GDPR_EMAIL migration • Maintain backward compatibility for v5 to v6 upgrade path Diagramflowchart LR
A["EMAIL env var set"] -->|"GDPR_EMAIL unset"| B["Use EMAIL value"]
B --> C["Emit deprecation warning"]
C --> D["Set GDPR_EMAIL"]
D --> E["Replace privacy policy placeholder"]
F["GDPR_EMAIL env var set"] -->|"Direct usage"| E
File Changes1. docker/entrypoint.sh
|
Contributor
Code Review by Qodo
|
sstidl
approved these changes
Apr 12, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The
EMAILenv var from v5 was renamed toGDPR_EMAILin v6 with no backward compatibility, causing users who set-e EMAIL=a@b.comin Docker to silently get the placeholder text in the privacy policy instead of their email.Changes
docker/entrypoint.sh: IfGDPR_EMAILis unset butEMAILis present, useEMAILand emit a deprecation warning:doc_docker.md: UpdatedGDPR_EMAILentry to document thatEMAILis still accepted as a deprecated fallback and users should migrate.