- if (*(op+2) == '\0')
- op += 2;
- else
- op += 3;
- }
-
- m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
- m_path.Mid((op - m_path.c_str()), m_path.Length());
- }
- }
-}
-
-// ---------------------------------------------------------------------------
-// Directory Normalization (static)
-//
-// UpTree goes up a directory in a string and moves the pointer as such,
-// while Normalize gets rid of duplicate/erronues directories in a URI
-// according to RFC 2396 and modified quite a bit to meet the unit tests
-// in it.
-// ---------------------------------------------------------------------------
-
-void wxURI::UpTree(const wxChar* uristart, const wxChar*& uri)
-{
- if (uri != uristart && *(uri-1) == '/')
- {
- uri -= 2;
- }
-
- for(;uri != uristart; --uri)
- {
- if (*uri == '/')