-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Description
Describe the bug
I encountered a bug in the browser UI when viewing the Version History of a secret. When I click on Version diff of a multiline secret key, newline characters (\n) are inserted, nonetheless it is not displayed correctly. This formatting issue cuts off a part of the secret, preventing me from seeing the full diff. I have attached a screenshot demonstrating the issue below.
The content of the secret in the screenshot is:
test
test
test
test
...
To Reproduce
Steps to reproduce the behavior:
- Enter a secret with one key like the "test" example above (just the test strings, nothing else)
- Make some changes
- Open the secret in the UI, click on Version History and then Version diff
- See error
Expected behavior
A line break after every word.
Environment:
- Vault Server Version 1.21.1
- Google Chrome Version 142.0.7444.176 (macOS)