1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix Test-ftp-iri.

This commit is contained in:
Micah Cowan 2009-06-28 21:15:22 -07:00
parent 50e12521d6
commit 47e7d242ff
2 changed files with 3 additions and 2 deletions

View File

@ -1207,9 +1207,10 @@ WARNING: Can't reopen standard output in binary mode;\n\
* retrieve_url may modify it in some circumstances,
* currently. */
struct iri *iri = iri_new ();
struct url *url_parsed = url_parse (*t, &url_err, iri, true);
struct url *url_parsed;
set_uri_encoding (iri, opt.locale, true);
url_parsed = url_parse (*t, &url_err, iri, true);
if (!url_parsed)
{

View File

@ -25,7 +25,7 @@ my %urls = (
},
);
my $cmdline = $WgetTest::WGETPATH . " --locale=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt";
my $cmdline = $WgetTest::WGETPATH . " --debug --locale=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt";
my $expected_error_code = 0;