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

replace server urls with v2 urls #196

Closed
hboetes opened this issue Aug 14, 2019 · 4 comments · Fixed by #206
Closed

replace server urls with v2 urls #196

hboetes opened this issue Aug 14, 2019 · 4 comments · Fixed by #206
Labels
enhancement New feature or request

Comments

@Dan33l
Copy link
Member

Dan33l commented Aug 14, 2019

Hi @hboetes

Why modify the default value of $config does not meet your needs ?

@hboetes
Copy link
Author

hboetes commented Aug 15, 2019

The code should use sane defaults and in this case use the working server URL, not the outdated one. Your proposal would force all users of the module to fix that problem for themselves whereas the maintainer can fix the problem for everyone.

@ekohl
Copy link
Member

ekohl commented Aug 15, 2019

With reading those sources I agree we should be defaulting to v2. I also wonder why we even set a default rather than relying on the hardcoded defaults. Probably because we use ini_setting and don't purge.

@hboetes
Copy link
Author

hboetes commented Aug 15, 2019

@ekohl I can imagine setting staging as the default, since I’ve never managed to get a cert in one go and use the production one as the non-default, with a switch like: production => true
I also see no reason for using anything else but hard coded URLs.

@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Aug 17, 2019
@Dan33l Dan33l mentioned this issue Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants