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

Clarify the formal requirement on max length #289

Open
prabhu opened this issue Feb 6, 2024 · 1 comment
Open

Clarify the formal requirement on max length #289

prabhu opened this issue Feb 6, 2024 · 1 comment

Comments

@prabhu
Copy link

prabhu commented Feb 6, 2024

We recently learned that a platform has a limit of 255 characters on the length of a purl. Please formally clarify any requirement on max length (even if it is unlimited). Include more compliance tests for length.

@pombredanne
Copy link
Member

There are no specified max length in the spec indeed, and none in the URL specs either.
The practical URL length limits are from tools.
255 sounds super short.

If these articles are right, then we should likely come with a sensible recommend max, something like 1000 ish or 2000 ish or powers of 2.

What is your recommendation? Should it be recommended or mandated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants