From 6974150a2c6b3b4e0fa278b08de8b2647d2c95ed Mon Sep 17 00:00:00 2001
From: Richard Walters <rwalters@digitalstirling.com>
Date: Mon, 2 Jul 2018 21:11:01 -0700
Subject: Add NormalizePath method

---
 include/Uri/Uri.hpp | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'include/Uri')

diff --git a/include/Uri/Uri.hpp b/include/Uri/Uri.hpp
index 8be3dd0..afdb631 100644
--- a/include/Uri/Uri.hpp
+++ b/include/Uri/Uri.hpp
@@ -163,6 +163,14 @@ namespace Uri {
          */
         std::string GetFragment() const;
 
+        /**
+         * This method applies the "remove_dot_segments" routine talked about
+         * in RFC 3986 (https://tools.ietf.org/html/rfc3986) to the path
+         * segments of the URI, in order to normalize the path
+         * (apply and remove "." and ".." segments).
+         */
+        void NormalizePath();
+
         // Private properties
     private:
         /**
-- 
cgit v1.2.3