Hi there,
Trying to build an app to connect to a custom API, I faced a strange issue :
My domain was always rejected when validating app using "frsh validate".
After investigating, I found the issue was due to '-' in my domain name.
This is because the regex pattern used in manifest-validation.js is invalid :
/^https\:\/\/((^\x00-\x7F]|\w)+\.((^\x00-\x7F]|\w)+(\.((^\x00-\x7F]|\w)+)?(\.((^\x00-\x7F]|\w)+)?$/
it could be replaced by
/^https\:\/\/(/^\x00-\x7F]|\w|\-)+\.(.^\x00-\x7F]|\w|\-)+(\.(.^\x00-\x7F]|\w|\-)+)?(\.(.^\x00-\x7F]|\w|\-)+)?$/