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

remove url validation of CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl() #19

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

jkowalleck
Copy link
Member

fixes #18

@jkowalleck jkowalleck requested a review from a team as a code owner November 14, 2021 23:42
…nctiveLicense::setUrl()`

fixes #18

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck merged commit 08e73b6 into master Nov 15, 2021
@jkowalleck jkowalleck deleted the issue_18 branch November 15, 2021 08:02
jkowalleck added a commit that referenced this pull request Nov 15, 2021
* Fixed
  * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()`
    no longer restricts the argument to be a valid URL.
    Per schema definition `licenseType.url` should be a URI, not a URL.
    See [#18](#18)
* Changed
  * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()`
     no longer throws `InvalidArgumentException`
     if the argument is not a URL (via [#19])

[#19]: #19
jkowalleck added a commit that referenced this pull request Nov 20, 2021
* Fixed
  * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()`
    no longer restricts the argument to be a valid URL.
    Per schema definition `licenseType.url` should be a URI, not a URL.
    See [#18](#18)
* Changed
  * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()`
     no longer throws `InvalidArgumentException`
     if the argument is not a URL (via [#19])

[#19]: #19

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck mentioned this pull request Dec 2, 2021
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

Successfully merging this pull request may close these issues.

implementation of xsd:anyURI is invalid
1 participant