Skip to content

[SR-12173] spm_mangledToBundleIdentifier doesn't fully support RFC 1034 #4605

Open
@hartbit

Description

@hartbit
Previous ID SR-12173
Radar rdar://problem/59496014
Original Reporter @hartbit
Type Task
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Task
Assignee None
Priority Medium

md5: 675546aaad77d3b8963009928058ab0a

Issue Description:

Based on RFC 1034:

> The labels must follow the rules for ARPANET host names. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen. There are also some restrictions on the length. Labels must be 63 characters or less.

but `spm_mangledToBundleIdentifier` doesn't fix hyphens at the end of labels or labels that are more than 63 characters long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions