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:
commit
2b6bdfd627
@ -336,7 +336,15 @@ second parameter. It returns the mapped target URL.
|
|||||||
}
|
}
|
||||||
$url =~ s/!bork!/$bork/;
|
$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;
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user