Skip to content
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

Fix domain matching for Vault variables #1476

Conversation

saksham-postman
Copy link
Collaborator

This PR addresses the issue where vault secrets were not being resolved when using a hostname that contains port. The problem was caused by incorrect domain matching in the variable resolution process.

Changes made:

Updated the URL pattern generation in lib/runner/util.js to correctly handle domains with and without ports.
This fix should resolve the issue reported in the community post:
https://community.postman.com/t/using-vault-sends-values-as-vault-token-instead-of-real-value/68970

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.

1 participant