Skip to content

Conversation

@satishk1536
Copy link

@satishk1536 satishk1536 commented Nov 21, 2025

Problem

Virtual Source Configure operation is failing with validation error:

  • Invalid value for 'pretty_name', was 'Couchbase:8091 - /mnt/provision/vdb11' but must follow the pattern '^[^;\&<>\(\)\s]+.'

The generated pretty_name value contains spaces (around the hyphen separator) which violates the current schema validation
pattern that prohibits whitespace characters (\s). This prevents users from successfully configuring virtual sources.

Solution

Remove whitespace restriction (\s) from the prettyName validation pattern while maintaining security controls for command injection prevention.

Testing Done

Testing Done

@satishk1536 satishk1536 force-pushed the dlpx/pr/satishk1536/7179aa19-b204-4e8b-8cb8-117a6f9ce1f5 branch from a83b22a to 7f18bfa Compare November 21, 2025 08:19
@satishk1536 satishk1536 marked this pull request as ready for review November 21, 2025 08:20
Copy link
Contributor

@hemant-gairola hemant-gairola left a comment

Choose a reason for hiding this comment

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

Hope this will not require an upgrade path.

@satishk1536
Copy link
Author

Hope this will not require an upgrade path.

No it won't

@satishk1536 satishk1536 merged commit 7682177 into develop Nov 21, 2025
6 checks passed
@satishk1536 satishk1536 deleted the dlpx/pr/satishk1536/7179aa19-b204-4e8b-8cb8-117a6f9ce1f5 branch November 21, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants