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

Multiple entries in proxy.auth do not work as specified in documentation #929

Open
Kamilcuk opened this issue May 7, 2023 · 0 comments
Open

Comments

@Kamilcuk
Copy link
Contributor

Kamilcuk commented May 7, 2023

The following:

proxy.auth = name=default;type=basic;file=/passwd/default.htpasswd                                                                               
                     name=kamil;type=basic;file=/passwd/kamil.htpasswd    

Does not work and second entry is ignored.

The following does work:

proxy.auth = name=default;type=basic;file=/passwd/default.htpasswd,name=kamil;type=basic;file=/passwd/kamil.htpasswd    

It is parsed with

func parseKVSlice(in string) ([]map[string]string, error) {

@Kamilcuk Kamilcuk changed the title proxy.auth does not work as specified in documentation Multiple entires in proxy.auth do not work as specified in documentation May 8, 2023
@Kamilcuk Kamilcuk changed the title Multiple entires in proxy.auth do not work as specified in documentation Multiple entries in proxy.auth do not work as specified in documentation May 8, 2023
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

No branches or pull requests

1 participant