Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-60389: Don't use uri_string:parse.
It doesn't allow '{', '[', '"' among others. For a complete list, see uri_string:allowed_characters(). To ensure backward compatibility, continue to allow those characters. Continue to normalize the paths (introduced in MB-59791). (Note that the issue in MB-59791 is not seen without parse()). Catch the original issue in MB-58884 where the request doesn't fit the format '/' ++ X.. this isn't exhaustive by any means. Change-Id: I255f5ac161be96f9bacae532d8c770982def3477 Reviewed-on: https://review.couchbase.org/c/ns_server/+/203847 Tested-by: Neelima Premsankar <neelima.premsankar@couchbase.com> Well-Formed: Build Bot <build@couchbase.com> Well-Formed: Restriction Checker Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Timofey Barmin <timofey.barmin@couchbase.com>
- Loading branch information