From 69a548e3063380a4f2c91468f07eb213a7872e84 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 2 Oct 2009 22:32:20 +0200 Subject: [PATCH] URL encode [] to make curl happy --- test/test_http_urls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_http_urls b/test/test_http_urls index 47adc23..0bf84d8 100644 --- a/test/test_http_urls +++ b/test/test_http_urls @@ -1,4 +1,4 @@ -http://localhost:9763/search.pz2?command=init&pz:elements[z3950.indexdata.com%2Fmarc]=F&pz:elements[z3950.indexdata.com%2Fgils]=F +http://localhost:9763/search.pz2?command=init&pz:elements%5Bz3950.indexdata.com%2Fmarc%5D=F&pz:elements%5Bz3950.indexdata.com%2Fgils%5D=F http://localhost:9763/search.pz2?session=1&command=stat http://localhost:9763/search.pz2?session=1&command=ping http://localhost:9763/search.pz2?session=1&command=search&query=computer @@ -14,7 +14,7 @@ http://localhost:9763/search.pz2?command=search&query=function%20()%20%7B%250A%2 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1&sort=date:1&block=1 http://localhost:9763/search.pz2?session=1&command=show&start=0&number=1 http://localhost:9763/search.pz2?command=init&clear=1 -http://localhost:9763/search.pz2?session=2&command=settings&pz:name[z3950.indexdata.com%2Fgils]=gils&pz:requestsyntax[z3950.indexdata.com%2Fgils]=usmarc&pz:nativesyntax[z3950.indexdata.com%2Fgils]=iso2709&pz:xslt[z3950.indexdata.com%2Fgils]=marc21.xsl +http://localhost:9763/search.pz2?session=2&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21.xsl http://localhost:9763/search.pz2?session=2&command=search&query=computer 2 http://localhost:9763/search.pz2?session=2&command=show&start=0&number=1&block=1 @@ -32,12 +32,12 @@ http://localhost:9763/search.pz2?session=3&command=search&query=utah 2 http://localhost:9763/search.pz2?session=3&command=show&start=0&number=1&block=1 http://localhost:9763/search.pz2?command=init&clear=1 -http://localhost:9763/search.pz2?session=4&command=settings&pz:name[z3950.indexdata.com%2Fgils]=gils&pz:requestsyntax[z3950.indexdata.com%2Fgils]=usmarc&pz:nativesyntax[z3950.indexdata.com%2Fgils]=iso2709&pz:xslt[z3950.indexdata.com%2Fgils]=marc21.mmap +http://localhost:9763/search.pz2?session=4&command=settings&pz:name%5Bz3950.indexdata.com%2Fgils%5D=gils&pz:requestsyntax%5Bz3950.indexdata.com%2Fgils%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fgils%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fgils%5D=marc21.mmap http://localhost:9763/search.pz2?session=4&command=search&query=computer 2 http://localhost:9763/search.pz2?session=4&command=show&start=0&number=1&block=1 http://localhost:9763/search.pz2?command=init&clear=1 -http://localhost:9763/search.pz2?session=5&command=settings&pz:name[z3950.indexdata.com%2Fmarc]=marc&pz:requestsyntax[z3950.indexdata.com%2Fmarc]=usmarc&pz:nativesyntax[z3950.indexdata.com%2Fmarc]=iso2709&pz:xslt[z3950.indexdata.com%2Fmarc]=marc21.xsl&pz:recordfilter[z3950.indexdata.com%2Fmarc]=date +http://localhost:9763/search.pz2?session=5&command=settings&pz:name%5Bz3950.indexdata.com%2Fmarc%5D=marc&pz:requestsyntax%5Bz3950.indexdata.com%2Fmarc%5D=usmarc&pz:nativesyntax%5Bz3950.indexdata.com%2Fmarc%5D=iso2709&pz:xslt%5Bz3950.indexdata.com%2Fmarc%5D=marc21.xsl&pz:recordfilter%5Bz3950.indexdata.com%2Fmarc%5D=date http://localhost:9763/search.pz2?session=5&command=search&query=computer 2 http://localhost:9763/search.pz2?session=5&command=show&start=0&number=1&block=1 -- 1.7.10.4