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

handle empty redirect URL #57

Merged
merged 1 commit into from
May 23, 2023

Conversation

flokli
Copy link
Contributor

@flokli flokli commented May 20, 2023

Specifying a redirect URL without any additional path behind the hostname/port (e.g. --redirect-url=http://localhost:3000) panics the program with panic: http: invalid pattern, as http.HandleFunc doesn't want an empty string as a handler.

Specifying a redirect URL without any additional path behind the
hostname/port (e.g. `--redirect-url=http://localhost:3000`) panics
the program with `panic: http: invalid pattern`, as `http.HandleFunc`
doesn't want an empty string as a handler.
@mbilski mbilski enabled auto-merge (squash) May 23, 2023 08:07
@mbilski mbilski merged commit 3488093 into cloudentity:master May 23, 2023
3 checks passed
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.

None yet

3 participants