-
Notifications
You must be signed in to change notification settings - Fork 14
feat: baseurl validation #1122
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
base: main
Are you sure you want to change the base?
feat: baseurl validation #1122
Conversation
|
This PR will trigger a minor release when merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
the
isValidUrlfunction is used all over the codebase. The new behavior would break many existing usecases. We need to keep the current url validation for everything outside the site baseURL flow -
Instead, introduce a new function
isValidBaseUrlwith the stricter rules you implemented. Use the new function from the data-access package, where the baseURL field is validated -
also, let's allow both
httpandhttpsfor baseURL.. not just https. -
in spacecat (unlike llmo), baseURLs can also have path like
https://adobe.com/photoshop
Thanks!
…url-validation
…url-validation
Description
In this PR we validate the baseurl
Related Issues
https://jira.corp.adobe.com/browse/LLMO-790
Thanks for contributing!