[GH-ISSUE #2084] [bug]: ensureMethodInEndpoint does not observe values in environment variables #688

Closed
opened 2026-03-16 16:42:01 +03:00 by kerem · 0 comments
Owner

Originally created by @LOG67 on GitHub (Jan 24, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2084

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

The newly added feature in 20bfd1658a breaks if you have environment variables with values like 'http://localhost' and 'https://staging.com'. It will still add https:// at the beginning of the URL.

Steps to reproduce

Create environment variables as base URLs with schemes (e.g. base_url: http://localhost and base_url: https://staging).

Try to use that variable in the URL. Hoppscotch automatically prefixes the URL with https://.

Environment

Production

Version

Cloud

Originally created by @LOG67 on GitHub (Jan 24, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2084 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior The newly added feature in 20bfd1658a67f42134f68934c04b81ad29e74963 breaks if you have environment variables with values like 'http://localhost' and 'https://staging.com'. It will still add https:// at the beginning of the URL. ### Steps to reproduce Create environment variables as base URLs with schemes (e.g. base_url: http://localhost and base_url: https://staging). Try to use that variable in the URL. Hoppscotch automatically prefixes the URL with https://. ### Environment Production ### Version Cloud
kerem 2026-03-16 16:42:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#688
No description provided.