current/utils create-package-feed.pl,1.9,1.10
Fabian Keil <[email protected]> Sat, 16 Jul 2016 11:43:38 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current/utils
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32671/utils
Modified Files:
create-package-feed.pl
Log Message:
create-package-feed.pl: Escape spaces in URLs
Index: create-package-feed.pl
===================================================================
RCS file: /cvsroot/ijbswa/current/utils/create-package-feed.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** create-package-feed.pl 16 Jul 2016 11:43:26 -0000 1.9
--- create-package-feed.pl 16 Jul 2016 11:43:36 -0000 1.10
***************
*** 67,70 ****
--- 67,72 ----
# URI and Time
$target_uri = $fi1 . '/' . $fi2 . '/' . $fi3;
+ my $escaped_target_uri = $target_uri;
+ $escaped_target_uri =~ s@ @%20@g;
$target_time = (stat $target)[9];
***************
*** 81,88 ****
'<link>'
. $base_dlurl
! . $target_uri
. '</link><guid>'
. $base_dlurl
! . $target_uri
. '</guid>';
$target_line .= '<pubDate>';
--- 83,90 ----
'<link>'
. $base_dlurl
! . $escaped_target_uri
. '</link><guid>'
. $base_dlurl
! . $escaped_target_uri
. '</guid>';
$target_line .= '<pubDate>';
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev