libnetwork.lib.in: fix support for pkg names containing '+' characters by converting %2B encoding with +
This commit is contained in:
parent
c8aa6e032a
commit
8655efaeb5
@ -88,6 +88,7 @@ function repository.get_srpm_pckname_from_site() {
|
||||
local pckname_from_HTML=($(sed -n "\
|
||||
# remove HTML tags --> get a better input
|
||||
/<[aA]\+ [hH]\+[rR]\+[eE]\+[fF]\+=\".*\.src\.rpm\"/{
|
||||
s|%2B|+|g;
|
||||
s|.*<[aA]\+ [hH]\+[rR]\+[eE]\+[fF]\+=\"\([^\"]*\)\".*|\1|
|
||||
{/$regexpr/Ip}}" $infile))
|
||||
echo "${pckname_from_HTML[*]}"
|
||||
|
Loading…
Reference in New Issue
Block a user