summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-08-17 09:09:13 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-08-17 09:09:13 +0000
commit2d6017ad06ed6ea571384f51705ce1e53aefb2da (patch)
tree4ee026c01b5f68204837abc898c0d7d490528b0f /tests
parente0022540014d498ee2ba366000c91c118db52b36 (diff)
Fixed issue 25 regarding un-encoding of characters such as # in the filename.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/11_crawl-parsing.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/11_crawl-parsing.test b/tests/11_crawl-parsing.test
index 39aeb03..d0f092d 100755
--- a/tests/11_crawl-parsing.test
+++ b/tests/11_crawl-parsing.test
@@ -34,3 +34,12 @@ bash crawl-test.sh --errors 0 --files 6 \
--found "ut.httrack.com/parsing/foo barae52.html" \
--found "ut.httrack.com/parsing/foo bar7b30.html" \
httrack http://ut.httrack.com/parsing/escaping.html
+
+# handling of # encoded in filename
+# see http://code.google.com/p/httrack/issues/detail?id=25
+bash crawl-test.sh --errors 2 --files 4 \
+ --found "ut.httrack.com/parsing/escaping2.html" \
+ --found "ut.httrack.com/parsing/++foo++bar++plus++.html" \
+ --found "ut.httrack.com/parsing/foo#bar#.html" \
+ --found "ut.httrack.com/parsing/foo bar.html" \
+ httrack http://ut.httrack.com/parsing/escaping2.html