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

[BUG] http:// keeps getting added to URL in address #2281

Closed
1 task done
billhannah opened this issue Sep 28, 2023 · 0 comments · Fixed by #2284
Closed
1 task done

[BUG] http:// keeps getting added to URL in address #2281

billhannah opened this issue Sep 28, 2023 · 0 comments · Fixed by #2284
Labels

Comments

@billhannah
Copy link

billhannah commented Sep 28, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The POST URL input on a query keeps setting http:// as the protocol if it is not present or set to https://

Expected Behavior

If I remove http:// from the beginning of the URL, I do not want it added back in.

Steps To Reproduce

  1. Create new query
  2. Set environment variable with a value that begins with http:// (for example: "serverAddress": "https://myserver/graphql")
  3. Set the POST URL to {{serverAddress}}
  4. Save query or reload
  5. POST URL is now http://{{serverAddress}}

OR

  1. Create new query
  2. Set environment variable that does not begin with the protocol (for example: "serverAddress": "myserver/graphql")
  3. Set the POST URL to https://{{serverAddress}}
  4. Save query or reload
  5. POST URL is now http://{{serverAddress}}

Environment

- OS: MacOS 13.5.2 (22G91) Ventura
- Browser: Electron App
- Platform: Mac
- Version: Version 5.2.3 (5.2.3)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants