1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Another doc update.

This commit is contained in:
hniksic 2003-09-22 05:07:20 -07:00
parent f78016fb95
commit bebad75ff9

View File

@ -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 "back up one element". Single leading and trailing slashes are
preserved. 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 For example, "a/b/c/./../d/.." will yield "a/b/". More exhaustive
test examples are provided below. If you change anything in this test examples are provided below. If you change anything in this
function, run test_path_simplify to make sure you haven't broken a function, run test_path_simplify to make sure you haven't broken a