Protocol Agnostic and relative badge-urls.

Problem to solve

It will make it easier to enter the urls (shorter) It will work for both HTTP/HTTPS sites.

Further details

Really needed? 😉

Proposal

Allow Protocol Agnostic and relative badge-urls to be used for the link and image of the badges:

  • //<dnsname>/<path>
  • /<path>

What does success look like, and how can we measure that?

// javascript
regExp=/^\/.*/
if( regExp.test(badgeurl) ) ...
if( badgeurl.match(regExp) ) ...

Links / references

Edited by 🤖 GitLab Bot 🤖