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

Global and Collection preferences Proxy Settings validation bug: empty port rejected even when proxy disabled #937

Closed
bhaugeea opened this issue Nov 9, 2023 · 3 comments

Comments

@bhaugeea
Copy link

bhaugeea commented Nov 9, 2023

You cannot save the app preferences with empty proxy settings because "" will get turned into NaN. It looks like maybe the Yup daisychain just needs to be reordered, but in any case an empty value should be accepted.

If you find this issue looking for a workaround, just throw an arbitrary number in that field and you can proceed.

@mirkogolze
Copy link
Contributor

Do you want to say that the port should not be mandatory if the proxy is enabled?
This means that you have an proxy server which uses e.G. port 80 for http protocol or 443 for https?

mirkogolze pushed a commit to mirkogolze/bruno that referenced this issue Nov 10, 2023
mirkogolze pushed a commit to mirkogolze/bruno that referenced this issue Nov 12, 2023
helloanoop added a commit that referenced this issue Nov 18, 2023
…-evaluation

#937, #921 improve evaluation of proxy configuration, allow empty port
@martinsefcik
Copy link
Contributor

@mirkogolze @helloanoop
I think this issue was fixed by PR #951 and should be closed

@sanjai0py
Copy link
Member

Closing this issue as the PR fixing the issue had already been merged and released in v1.2.0

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

4 participants