Skip to content

Use dashes in HTTP header names in SSL vhost config#492

Open
ehelms wants to merge 1 commit intotheforeman:masterfrom
ehelms:fix-httpd-headers
Open

Use dashes in HTTP header names in SSL vhost config#492
ehelms wants to merge 1 commit intotheforeman:masterfrom
ehelms:fix-httpd-headers

Conversation

@ehelms
Copy link
Copy Markdown
Member

@ehelms ehelms commented May 5, 2026

Why are you introducing these changes? (Problem description, related links)

Some backends reject headers with underscores before converting dashes to underscores for application processing. Use dashes in RequestHeader names to match the HTTP vhost and ensure headers pass through the full proxy chain.

Ref: theforeman/puppet-foreman@d92fea4

What are the changes introduced in this pull request?

  • Changes headers to use dashes
  • Adds test to check that headers use dashes

How to test this pull request

Steps to reproduce:

  • ./foremanctl deploy

Checklist

  • Tests added/updated (if applicable)
  • Documentation updated (if applicable)

Some backends reject headers with underscores before converting
dashes to underscores for application processing. Use dashes in
RequestHeader names to match the HTTP vhost and ensure headers
pass through the full proxy chain.

Add a test to catch underscore usage in httpd config headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ehelms ehelms force-pushed the fix-httpd-headers branch from 1e73fc5 to 3c804c2 Compare May 5, 2026 14:24
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.

2 participants