[request-tracker-maintainers] Bug#654755: request-tracker4: simple search for ticket number fails

Philip subs at christiantena.net
Thu Jan 5 15:04:10 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/attachments/20120105/ece182f9/attachment.html>


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