Skip to content

Type containing different type as substring #1040

@apworks1

Description

@apworks1

There are sometimes names such as "%NAS._asustor-looksgood_https._tcp.local."
This has type "_asustor-looksgood_http._tcp.local." but also matches another type "_http._tcp.local."
Not only this name is erroneously reported when searching for "_http._tcp.local." but it then raises BadTypeInNameException
exception when constructing ServiceInfo.

The check in _ServiceBrowserBase, _record_matching_type should require a match with the full service type (which is period-separated).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions