Skip to content

forwardauth: error on duplicate uri subdirective - #7814

Merged
francislavoie merged 4 commits into
caddyserver:masterfrom
vijayvenkatj:master
Jun 11, 2026
Merged

francislavoie merged 4 commits into
caddyserver:masterfrom
vijayvenkatj:master

Conversation

@vijayvenkatj

Copy link
Copy Markdown
Contributor

Fixes #7813

Check for existing URI before writing Rewrite.URI

This prevents later definitions from overwriting existing uri and returns an error when an uri is
defined more than once.

Assistance Disclosure

NO AI was used

Check for existing URI before writing Rewrite.URI

This prevents later definitions from overwriting existing
uri and returns an error when an uri is
defined more than once.

@francislavoie francislavoie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just an adjustment to the error message

@steadytao steadytao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your work!

@francislavoie francislavoie added the bug 🐞 Something isn't working label Jun 11, 2026
@francislavoie francislavoie added this to the v2.11.5 milestone Jun 11, 2026
@francislavoie
francislavoie merged commit 0f7f8e9 into caddyserver:master Jun 11, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forwardauth: no error on duplicate uri

3 participants