Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hartbit opened this issue Feb 10, 2020 · 1 comment
Open
Labels

Comments

@hartbit
Copy link
Collaborator

hartbit commented Feb 10, 2020

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.

@beccadax
Copy link
Contributor

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants