Skip to content

I2P domains #108

@oooo-ps

Description

@oooo-ps

as understand, domain zone rule excludes digits - .onion works, but .i2p does not.
also ws://xxx.b32.i2p works but http://xxx.b32.i2p - does not.

fn valid_tld(tld: &str) -> bool {
    tld.chars()
        .take_while(|c| c.is_ascii_alphabetic())
        .take(2)
        .count()
        >= 2
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions