Solution Explorer provides the front door into the Integreatly initiative. It hosts the various Solution Patterns, as well as providing a dashboard of installed applications/products/services.
Apache License 2.0
36
stars
54
forks
source link
INTLY-3658: Regex change to support github urls without www #514
Changed the regex for the url syntax checker so that it supports github URLs with and without "www." in the address, and discovered and fixed another issue in which invalid URLs would go unflagged if there were < or > 3 w's in the address (e.g. 'ww.github.com' 'wwwwww.github.com' etc).
Why
Allows for typing or copy/pasting of completely valid github URLs that don't specify the optional www in the URL.
Verification Steps
In Solution Explorer, click the Settings (gear) icon in the masthead to open the Settings page.
Motivation
https://issues.jboss.org/browse/INTLY-3658 https://issues.jboss.org/browse/INTLY-2720
What
Changed the regex for the url syntax checker so that it supports github URLs with and without "www." in the address, and discovered and fixed another issue in which invalid URLs would go unflagged if there were < or > 3 w's in the address (e.g. 'ww.github.com' 'wwwwww.github.com' etc).
Why
Allows for typing or copy/pasting of completely valid github URLs that don't specify the optional www in the URL.
Verification Steps
Checklist:
Progress
Additional Notes
Screen shot before fix:
Screen shot after fix: