Skip to content

[Bug] New Tab block forces HTTPS protocol when using variables {{}} in URL input #2139

Description

@Mason-Ma-11417066

Describe the bug
In the "New Tab" block, the URL input field automatically forces the protocol to https:// when the user enters the variable delimiter {{. It is impossible to keep or switch back to http:// once a variable is being used in the input box.
To Reproduce

Steps to reproduce the behavior:
1、Add a New Tab block to the workflow.
2、Double-click the block to open the settings.
3、Select HTTP as the protocol in the dropdown.
4、Start typing in the URL input field and enter {{.
5、Observe that the protocol dropdown immediately switches from HTTP to HTTPS, and a https:// prefix is automatically added before the {{.

Expected behavior
Entering a variable or specific characters in the URL input field should not interfere with or override the manually selected protocol (HTTP/HTTPS). The user should be able to use variables with the HTTP protocol.

Screenshots

Image

Desktop (please complete the following information):

OS: Windows 11

Browser: CentBrowser, Google Chrome

Extension Version: v1.30.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions