From bebad75ff987f90ccd59ed5f616020a3a8c97559 Mon Sep 17 00:00:00 2001
From: hniksic <devnull@localhost>
Date: Mon, 22 Sep 2003 05:07:20 -0700
Subject: [PATCH] [svn] Another doc update.

---
 src/url.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/url.c b/src/url.c
index 4a4f465b..d318b148 100644
--- a/src/url.c
+++ b/src/url.c
@@ -1619,6 +1619,11 @@ find_last_char (const char *b, const char *e, char c)
    "back up one element".  Single leading and trailing slashes are
    preserved.
 
+   This function does not handle URL escapes explicitly.  If you're
+   passing paths from URLs, make sure to unquote "%2e" and "%2E" to
+   ".", so that this function can find the dots.  (Wget's URL parser
+   calls reencode_escapes, which see.)
+
    For example, "a/b/c/./../d/.." will yield "a/b/".  More exhaustive
    test examples are provided below.  If you change anything in this
    function, run test_path_simplify to make sure you haven't broken a