aboutsummaryrefslogtreecommitdiff
path: root/www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm
diff options
context:
space:
mode:
Diffstat (limited to 'www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm')
-rw-r--r--www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm b/www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm
new file mode 100644
index 000000000000..c6c78d128b9f
--- /dev/null
+++ b/www/amphetadesk/files/patch-lib::AmphetaDesk::WWW.pm
@@ -0,0 +1,22 @@
+--- lib/AmphetaDesk/WWW.pm.orig Tue Oct 29 03:30:40 2002
++++ lib/AmphetaDesk/WWW.pm Mon Oct 10 14:16:59 2005
+@@ -103,7 +103,9 @@
+ $req->proxy_authorization_basic($un, $pw); }
+
+ # set our referer and grab our URL.
++ if (get_setting("user_http_referer")) {
+ $req->referer( get_setting("user_http_referer") );
++ }
+ my $res = $ua->request($req);
+
+ # did things go happily or sadly?
+@@ -171,7 +173,9 @@
+ $req->proxy_authorization_basic($un, $pw); }
+
+ # set our referer and grab our URL.
++ if (get_setting("user_http_referer")) {
+ $req->referer( get_setting("user_http_referer") );
++ }
+ my $res = $ua->request($req);
+
+ # did things go happily or sadly?