Skip to content
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

Privacy: Add UserAgentTokens directive to client.conf #5555

Closed
michaelrsweet opened this issue Apr 4, 2019 · 1 comment
Closed

Privacy: Add UserAgentTokens directive to client.conf #5555

michaelrsweet opened this issue Apr 4, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Need to add a UserAgentTokens directive to client.conf (and the corresponding plist on macOS) to allow a user to configure what information is included in the default User-Agent string, just like we do for cupsd.conf with the ServerTokens directive.

@michaelrsweet michaelrsweet added the enhancement New feature or request label Apr 4, 2019
@michaelrsweet michaelrsweet added this to the CUPS 2.3.x milestone Apr 4, 2019
@michaelrsweet michaelrsweet self-assigned this Apr 4, 2019
michaelrsweet added a commit that referenced this issue Apr 15, 2019
cups/cups-private.h:
- Add enum and value for UserAgentTokens directive.

cups/usersys.c:
- _cups_finalize_conf(): Copy UserAgentTokens value to globals.
- _cups_init_conf(): Set default UserAgentTokens value and grab prefs.
- _cups_read_conf(): Look for UserAgentTokens value.
- _cups_set_uatokens(): Set UserAgentTokens value.
- cupsSetUserAgent(): Support UserAgentTokens values.
@michaelrsweet
Copy link
Collaborator Author

[master 59cd12c] Add UserAgentTokens config directive (Issue #5555)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant