1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Merge with git+ssh://pasky/srv/git/elinks.git

This commit is contained in:
Jonas Fonseca 2005-09-28 22:18:25 +02:00 committed by Jonas Fonseca
commit 2b6bdfd627

View File

@ -336,7 +336,15 @@ second parameter. It returns the mapped target URL.
}
$url =~ s/!bork!/$bork/;
}
$url .= $search if $search;
if ($search)
{
$search =~ s/%/%25/g;
$search =~ s/&/%26/g;
$search =~ s/\s/%20/g;
$search =~ s/\+/%2b/g;
$search =~ s/#/%23/g;
$url .= $search;
}
return $url;
}