Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-44513: Trim paths before setting them
The paths are trimmed anyway in couchdb. If the same API called one more time and we don't trim them, we will not be able to figure out that the path has not changed. Basically if path contains spaces the logic that compares old and new paths breaks. Change-Id: Ie5f803dc80cba64c1c53c97f73299bfb7f2d4961 Reviewed-on: http://review.couchbase.org/c/ns_server/+/164681 Well-Formed: Build Bot <build@couchbase.com> Tested-by: Timofey Barmin <timofey.barmin@couchbase.com> Reviewed-by: Artem Stemkovski <artem@couchbase.com>
- Loading branch information
1 parent
9d2bd59
commit edb6b86
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters