Your message dated Thu, 5 Jan 2012 22:21:25 +0000
with message-id <[email protected]>
and subject line Re: [request-tracker-maintainers] Bug#654755: Bug#654755: 
request-tracker4: simple search for ticket number fails
has caused the Debian Bug report #654755,
regarding request-tracker4: simple search for ticket number fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
654755: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654755
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: request-tracker4
Version: 4.0.4-1
Severity: normal
Tags: patch

When a ticket number is input into a simple search a page not found error 
occurs.
This is caused by a fault in line 97 of 
/usr/share/request-tracker4/html/Search/Simple.html
the line says:-
RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Ticket/Display.html?id=".$1);
the line should say (in my opinion):-
RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."/Ticket/Display.html?id=".$1);
adding the "/" fixes the issue on my installation

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

<<< text/html; charset="us-ascii": Unrecognized >>>

--- End Message ---
--- Begin Message ---
On Thu, Jan 05, 2012 at 08:06:25PM +0000, Dominic Hargreaves wrote:

> This looks wrong: /usr/share/request-tracker4/etc/RT_Config.pm has:
> 
> "Usually you don't want to set these options. The only obvious reason
> is if RT is accessible via https protocol on a non standard port, e.g.
> 'https://rt.example.com:9999'. In all other cases these options are
> computed using C<$WebDomain>, C<$WebPort> and C<$WebPath>.
> [...]
> C<$WebURL> is the C<$WebBaseURL>, C<$WebPath> and trailing /, for
> example: 'http://www.example.com/rt/'.
> "
> 
> If you are setting $WebURL manually, it should include a trailing /
> as per the docs.

Closing, as per your follow-up about your config settings.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


--- End Message ---

Reply via email to