summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-07-05 17:53:54 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-07-05 17:53:54 +0000
commitd2a3d7a3ffd60e1e28d2fcd631b38bf40328dde6 (patch)
treedffb8d2574c1404cb2ccd2664c857a2a598d5433 /tests
parent00fe2d4432ca8f994275af2bf32931a05f6c8132 (diff)
Do not unescape '+' before the query string
Fixed issue 18
Diffstat (limited to 'tests')
-rwxr-xr-xtests/11_crawl-parsing.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/11_crawl-parsing.test b/tests/11_crawl-parsing.test
index 3c75c24..1d8e3d9 100755
--- a/tests/11_crawl-parsing.test
+++ b/tests/11_crawl-parsing.test
@@ -24,3 +24,13 @@ bash crawl-test.sh --errors 0 --files 3 \
--found ut.httrack.com/parsing/fade.gif \
--found ut.httrack.com/parsing/javascript.html \
httrack http://ut.httrack.com/parsing/javascript.html
+
+# handling of + before query string
+bash crawl-test.sh --errors 0 --files 6 \
+ --found ut.httrack.com/parsing/escaping.html \
+ --found "ut.httrack.com/parsing/foo bar30f4.html" \
+ --found "ut.httrack.com/parsing/foo bar5e1f.html" \
+ --found "ut.httrack.com/parsing/foo+bar3860.html" \
+ --found "ut.httrack.com/parsing/foo barae52.html" \
+ --found "ut.httrack.com/parsing/foo bar7b30.html" \
+ httrack http://ut.httrack.com/parsing/escaping.html