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

Change RegisterHandler path for RelayHandler, Go ServeMux no longer considers * a wildcard #39

Open
theJC opened this issue Feb 1, 2025 · 1 comment · May be fixed by #40
Open

Change RegisterHandler path for RelayHandler, Go ServeMux no longer considers * a wildcard #39

theJC opened this issue Feb 1, 2025 · 1 comment · May be fixed by #40

Comments

@theJC
Copy link
Contributor

theJC commented Feb 1, 2025

Change RegisterHandler path for RelayHandler, Go ServeMux does not (any longer) consider * a wildcard

golang/go#68856 (comment)

@lleadbet
Copy link
Contributor

lleadbet commented Feb 3, 2025

This is a fun one, since we initially built this using Go 1.22, which as the issue notes, was supported (even if undocumented), and the Docker image actually accounts for this. I was exploring the option of using a different approach to do the same thing (using a dummy path parameter) but hadn't gotten around to polishing just yet.

Doing root path alone probably makes sense, but would just need clarity in the README about the fact the config has to match exactly. I can work with you in the PR on that, however.

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 a pull request may close this issue.

2 participants