This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit f0403cebacf193e2a709545321e1881f7d954365
Author: David Prévot <[email protected]>
Date:   Sat Feb 15 20:59:17 2014 -0400

    uscan: Honor Referer
    
    Signed-off-by: James McCoy <[email protected]>
---
 scripts/uscan.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 728acd1..c788ead 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1407,6 +1407,7 @@ EOF
            print STDERR "$progname debug: requesting URL $url\n" if $debug;
            my $headers = HTTP::Headers->new;
            $headers->header('Accept' => '*/*');
+           $headers->header('Referer' => $base);
            $request = HTTP::Request->new('GET', $url, $headers);
            $response = $user_agent->request($request, $fname);
            if (! $response->is_success) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to