Skip to content

luci-app-tinyproxy:valid domain name reported as invalid #7958

@andvalb

Description

@andvalb

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

Image

Actual behaviour

Valid and working domain name reported as invalid.
Also help text under the option "Target host" says that "Can be either an IP address or range, a domain name or '.' for any host without domain", but domain name '.' also reported as invalid.

Expected behaviour

Domain name like '.onion' or .'i2p' are valid and must be reported as valid for this filter option.
Do not use address format validation for them. This is not a url(adddress) but filter.

Steps to reproduce

go to : Services->Tinyproxy and try to add '.' or '.i2p' or '.onion' to the field "Target host" of "Upstream proxy" option.

Additional Information

{
        "kernel": "6.6.104",
        "hostname": "router",
        "system": "ARMv8 Processor rev 0",
        "model": "Bananapi BPI-R4",
        "board_name": "bananapi,bpi-r4",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.3",
                "revision": "r28872-daca7c049b",
                "target": "mediatek/filogic",
                "description": "OpenWrt 24.10.3 r28872-daca7c049b",
                "builddate": "1758316778"
        }
}

What browsers do you see the problem on?

Microsoft Edge

Relevant log output

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