Autohandler patch

The autohandler should redirect unprivileged users from
Ticket/Display.html to the Self-Service interface. Current code displays
SS page under non-SS URL, which causes the “Reply” links to go to
Ticket/Update.html, which in turn displays the SS home page.

–David

autohandler.txt (550 Bytes)

Thanks. Applied.On Mon, Jan 08, 2007 at 03:13:06PM -0500, David Chandek-Stark wrote:

The autohandler should redirect unprivileged users from
Ticket/Display.html to the Self-Service interface. Current code displays
SS page under non-SS URL, which causes the “Reply” links to go to
Ticket/Update.html, which in turn displays the SS home page.

–David

Compare: (<)C:\Download\RT\rt-3.6.3\html\autohandler (11923 bytes)
with: (>)C:\Temp\autohandler.txt (11869 bytes)

277,279c277
< $m->comp( “/SelfService/Display.html”, %ARGS );
< $m->comp( “/Elements/Footer”, %ARGS );
< $m->abort();

        RT::Interface::Web::Redirect($RT::WebURL."SelfService/Display.html?id=".$ARGS{'id'});

284,285c282
< $m->comp(‘/SelfService/index.html’);
< $m->abort();

        RT::Interface::Web::Redirect($RT::WebURL."SelfService/");

List info: The rt-devel Archives