[request-tracker-maintainers] Bug#503329: patch

Bastian Blank waldi at debian.org
Sat Oct 25 12:33:36 UTC 2008


tags 503329 patch
thanks

Patch attached.

Bastian

-- 
The idea of male and female are universal constants.
		-- Kirk, "Metamorphosis", stardate 3219.8
-------------- next part --------------
diff -u request-tracker3.6-3.6.7/debian/changelog request-tracker3.6-3.6.7/debian/changelog
--- request-tracker3.6-3.6.7/debian/changelog
+++ request-tracker3.6-3.6.7/debian/changelog
@@ -1,3 +1,10 @@
+request-tracker3.6 (3.6.7-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Use correct server name for self referencing URIs. (closes: #503329)
+
+ -- Bastian Blank <waldi at debian.org>  Sat, 25 Oct 2008 13:58:44 +0200
+
 request-tracker3.6 (3.6.7-3) unstable; urgency=low
 
   * Fix timezone handling in the default configuration. (Closes: #498124)
diff -u request-tracker3.6-3.6.7/debian/patches/00list request-tracker3.6-3.6.7/debian/patches/00list
--- request-tracker3.6-3.6.7/debian/patches/00list
+++ request-tracker3.6-3.6.7/debian/patches/00list
@@ -13,0 +14 @@
+60_uri_self_reference
only in patch2:
unchanged:
--- request-tracker3.6-3.6.7.orig/debian/patches/60_uri_self_reference.dpatch
+++ request-tracker3.6-3.6.7/debian/patches/60_uri_self_reference.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_uri_self_reference.dpatch by Bastian Blank <waldi at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad request-tracker3.6-3.6.7~/lib/RT/Interface/Web.pm request-tracker3.6-3.6.7/lib/RT/Interface/Web.pm
+--- request-tracker3.6-3.6.7~/lib/RT/Interface/Web.pm	2008-10-25 14:29:09.000000000 +0200
++++ request-tracker3.6-3.6.7/lib/RT/Interface/Web.pm	2008-10-25 14:29:35.000000000 +0200
+@@ -200,7 +200,7 @@
+     # it will just upset them (and invalidate their credentials)
+     if ($uri->host  eq $server_uri->host && 
+         $uri->port eq $server_uri->port) {
+-            $uri->host($ENV{'HTTP_HOST'});
++            $uri->host($ENV{'SERVER_NAME'});
+             $uri->port($ENV{'SERVER_PORT'});
+         }
+ 


More information about the pkg-request-tracker-maintainers mailing list