[packages/adapter: 614/631] adapter: cleanup r= from sf urls

glen glen at pld-linux.org
Mon Sep 12 20:25:54 CEST 2016


commit 0b87582d3670e9ca5648978432832c02ee4c5609
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 1 21:11:09 2015 +0200

    adapter: cleanup r= from sf urls

 adapter.awk | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/adapter.awk b/adapter.awk
index 175017f..d2793bd 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1776,6 +1776,7 @@ function unify_url(url)
 	if (url ~ /sourceforge.net/) {
 		sub("[?&]big_mirror=.*$", "", url)
 		sub("[?&]modtime=.*$", "", url)
+		sub("[?&]r=.*$", "", url)
 		sub("[?]use_mirror=.*$", "", url)
 		sub("[?]download$", "", url)
 		sub("/download$", "", url)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list