Skip to content

Only use remote localized format strings when explicitly allowed - #42

Merged
prachigauriar merged 1 commit into
mainfrom
remote-format-string-policy
Aug 4, 2026
Merged

prachigauriar merged 1 commit into
mainfrom
remote-format-string-policy

Conversation

@prachigauriar

Copy link
Copy Markdown
Collaborator
  • Introduce RemoteLocalizedFormatStringPolicy to allow consumers to
    customize whether a specific remote format string should be used
  • Introduce RemoteLocalizedFormatStringPolicies to act as a namespace
    for policies. Provide a default which always disallows remote format
    strings
  • Update remoteLocalizedString(format:...) to consult a policy before
    using a remote format string

  - Introduce RemoteLocalizedFormatStringPolicy to allow consumers to
    customize whether a specific remote format string should be used
  - Introduce RemoteLocalizedFormatStringPolicies to act as a namespace
    for policies. Provide a default which always disallows remote format
    strings
  - Update remoteLocalizedString(format:...) to consult a policy before
    using a remote format string
@prachigauriar
prachigauriar merged commit 255ec7a into main Aug 4, 2026
3 of 6 checks passed
@prachigauriar
prachigauriar deleted the remote-format-string-policy branch August 4, 2026 17:30
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