Skip to content

Commit

Permalink
Fix to remove un_urlize as unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Apr 18, 2024
1 parent c22f7fa commit 73150b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ sub link_config_cparams
my @w;
if ($in->{'_cscript'}) {
if ($keep) {
push(@w, "_cscript=".&urlize(&un_urlize($in->{'_cscript'})));
push(@w, "_cscript=".&urlize($in->{'_cscript'}));
}
else {
$url .= $in->{'_cscript'};
Expand All @@ -442,8 +442,7 @@ sub link_config_cparams
if ($k =~ /^_cparam_(.*)$/) {
$n = $1;
foreach my $v (split(/\0/, $in{$k})) {
push(@w, &urlize($keep ? &un_urlize($k) :
&un_urlize($n))."=".&urlize(&un_urlize($v)));
push(@w, &urlize($keep ? $k : $n)."=".&urlize($v));
}
}
}
Expand Down

0 comments on commit 73150b7

Please sign in to comment.