newrelic / nr1-github

NR1 Github allows you to create more context to your entities by having access to the GitHub repository, contributors and README.
https://github.com/newrelic/nr1-github/discussions
Apache License 2.0
20 stars 27 forks source link

fix: Restrict repo links to http/https #68

Closed aswanson-nr closed 3 years ago

aswanson-nr commented 3 years ago

Summary

Repository links were not be validated and allowed users to submit URLs of various protocols. This update restricts the display of links to those with a protocol of http or https and adds input validation to do the same.

Closes #67

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

nr-opensource-bot commented 3 years ago

:tada: This PR is included in version 0.6.8 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: