mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	Fix CLI panic caused by single backslash values (#14523)
* upgrade go-secure-stdlib/kv-builder to v0.1.2 * add kv test to ensure single backslash values no longer panic * add changelog entry
This commit is contained in:
		| @@ -141,6 +141,12 @@ func TestKVPutCommand(t *testing.T) { | ||||
| 			[]string{"== Secret Path ==", "kv/data/write/foo"}, | ||||
| 			0, | ||||
| 		}, | ||||
| 		{ | ||||
| 			"v2_single_value_backslash", | ||||
| 			[]string{"kv/write/foo", "foo=\\"}, | ||||
| 			[]string{"== Secret Path ==", "kv/data/write/foo"}, | ||||
| 			0, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
| 	for _, tc := range cases { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chris Capurso
					Chris Capurso