Skip to content

Conversation

@martinst06
Copy link
Contributor

Description

In this PR we validate the baseurl

Related Issues

https://jira.corp.adobe.com/browse/LLMO-790

Thanks for contributing!

@github-actions
Copy link

This PR will trigger a minor release when merged.

@martinst06 martinst06 requested a review from ekremney November 14, 2025 08:18
Copy link
Member

@ekremney ekremney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • the isValidUrl function 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 isValidBaseUrl with 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 http and https for baseURL.. not just https.

  • in spacecat (unlike llmo), baseURLs can also have path like https://adobe.com/photoshop

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants