diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-07-10 20:08:58 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-07-10 20:08:58 +0200 |
commit | 59fe94ea0135b1f8bc3d66e97460bd481054b061 (patch) | |
tree | 5e3af9ae6551bf583661798101be7ae8129461d4 /test | |
parent | 4958ba98e66af264e1f03f5dbacc713e51cd437d (diff) |
http get requests need to be dequoted
Diffstat (limited to 'test')
-rw-r--r-- | test/interactive-helper/aptwebserver.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index 0780288a4..920ab3bcc 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -311,6 +311,8 @@ int main(int const argc, const char * argv[]) std::string filename = m->substr(5, filestart - 5); if (filename.empty() == true) filename = "."; + else + filename = DeQuoteString(filename); if (simulate_broken_server == true) { std::string data("ni ni ni\n"); |