diff options
author | Julian Andres Klode <jak@debian.org> | 2016-06-27 10:54:26 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-31 13:12:58 +0200 |
commit | a55db465eca2c4d9f0cb6f36640ee6a70634052d (patch) | |
tree | bf9e70c1361986bf192aa3c3cb9bd6a682ff6518 /apt-pkg/versionmatch.h | |
parent | a5859f6e046686bdbad22b5266e756030c157f60 (diff) |
methods/ftp: Cope with weird PASV responses
wu-ftpd sends the response without parens, whereas we expect
them.
I did not test the patch, but it should work. I added another
return true if Pos is still npos after the second find to make
sure we don't add npos to the string.
Thanks: Lukasz Stelmach for the initial patch
Closes: #420940
(cherry picked from commit 25a694165ae46c159e0d91bf0b27717f00dbc66e)
Diffstat (limited to 'apt-pkg/versionmatch.h')
0 files changed, 0 insertions, 0 deletions