Skip to content

Conversation

@thedadams
Copy link
Contributor

No description provided.

@thedadams thedadams requested a review from StrongMonkey August 28, 2025 18:14

// Serve the proxied request
proxy.ServeHTTP(w, r)
func setHeaders(header http.Header, props map[string]any) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you will have to drop these headers from original before setting it. Just in case user sends faked one and we are not overriding it properly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. Done.

@thedadams thedadams force-pushed the forward-auth-support branch from aa12fbe to a20eda9 Compare August 28, 2025 23:24
@thedadams thedadams merged commit 95fc784 into obot-platform:main Aug 28, 2025
2 checks passed
@thedadams thedadams deleted the forward-auth-support branch August 28, 2025 23:34
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