Skip to content

Update specification.md for extra slashes for **scheme** component - #922

Open
mjherzog wants to merge 3 commits into
mainfrom
spec-update-extra-slashes-after-scheme
Open

Update specification.md for extra slashes for **scheme** component#922
mjherzog wants to merge 3 commits into
mainfrom
spec-update-extra-slashes-after-scheme

Conversation

@mjherzog

Copy link
Copy Markdown
Member

Update ECMA-427 to change "shall" to "should" for the scheme component:
From: URL parsers shall accept URLs where the scheme and colon ':' are followed by one or more slash '/' characters, such as 'pkg://', and shall ignore and remove all such '/' characters.
To: PURL parsers should accept URLs where the scheme and colon ':' are followed by one or more slash '/' characters, such as 'pkg://', and should ignore and remove all such '/' characters.

Update ECMA-427 to change rule for **scheme** component:
**_From:_** URL parsers _shall_ accept URLs where the scheme and colon ':' are followed by one or more slash '/' characters, such as 'pkg://', and shall ignore and remove all such '/' characters.
**_To:_** PURL parsers _should_ accept URLs where the scheme and colon ':' are followed by one or more slash '/' characters, such as 'pkg://', and should ignore and remove all such '/' characters.

Signed-off-by: Michael Herzog <mjherzog@aboutcode.org>
@mjherzog mjherzog added the Ecma standard Part of the Ecma standard for PURL label Jul 14, 2026

@johnmhoran johnmhoran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @mjherzog .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ecma standard Part of the Ecma standard for PURL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spec change: Update rule for "extra" slash characters for the scheme component

2 participants