mirror of https://github.com/aria2/aria2
Recognize tab as white space before option in -i list.
parent
a743bef220
commit
c408dbba72
|
@ -75,7 +75,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op)
|
|||
break;
|
||||
}
|
||||
line_.assign(&buf[0], &buf[strlen(buf)]);
|
||||
if(util::startsWith(line_, " ")) {
|
||||
if(util::startsWith(line_, " ") || util::startsWith(line_, "\t")) {
|
||||
ss << line_ << "\n";
|
||||
} else if(util::startsWith(line_, A2STR::SHARP_C)) {
|
||||
continue;
|
||||
|
|
|
@ -4,4 +4,4 @@ http://localhost/index.html http://localhost2/index.html
|
|||
ftp://localhost/aria2.tar.bz2
|
||||
dir=/tmp
|
||||
# comment line
|
||||
out=chunky_chocolate
|
||||
out=chunky_chocolate
|
||||
|
|
Loading…
Reference in New Issue