[Rt-devel] autohandler patch
Jesse Vincent
jesse at bestpractical.com
Mon Jan 8 15:57:19 EST 2007
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: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
--
More information about the Rt-devel
mailing list