Skip to content

Commit

Permalink
Add a note about URL validation via regex
Browse files Browse the repository at this point in the history
- [skip ci]
  • Loading branch information
sdruskat committed Oct 26, 2017
1 parent 6f81e1d commit 3af8b39
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions 1.0-RC1/specifications.md
Expand Up @@ -274,7 +274,8 @@ These keys only take values from a defined set, cf. the respective sections:
**license‑url**, **repository**, **repository-code**, **repository-artifact**,
**url**

These keys take URL strings as values. XXX Define regex XXX
These keys take URL strings as values. URLs are being validated by a regular
expression as provided in a [GitHub Gist by Diego Perini](https://gist.github.com/dperini/729294).

**keywords**

Expand Down Expand Up @@ -699,9 +700,10 @@ Table: Defined statuses for works.

## License strings

License strings must conform with the [SPDX Licenses list](https://spdx.org/licenses/), i.e.,
a license must be specified via the short identifier from the list. If a license is not
included in the SPDX Licenses list, the `license-url` should be provided as a fallback.
License strings must conform with the [SPDX Licenses
list](https://spdx.org/licenses/), i.e., a license must be specified via the
short identifier from the list. If a license is not included in the SPDX
Licenses list, the `license-url` should be provided as a fallback.

Example:

Expand Down

0 comments on commit 3af8b39

Please sign in to comment.