Files
vault/ui/lib/core/app/utils/sanitize-path.js
Chelsea Shaw b833b30315 UI: always send capabilities-self request in user's root namespace (#24168)
* Add getRelativePath helper and use to calculate relativeNamespace

* Always request capabilities-self on users root ns and prefix body with relative path

* Update capabilities adapter with test

* add changelog

* Simplify getRelativePath logic

* test update
2023-11-20 13:21:00 -06:00

7 lines
174 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export { ensureTrailingSlash, sanitizePath, getRelativePath } from 'core/utils/sanitize-path';