Le 22/06/2016 à 01:16, Joe Kirby a écrit : > I have a template which provides a link to our survey tool and recently > I was asked to add subject to the parts included in the url. > > Since the ticket subject contains spaces, etc. that may not lend them > selves to a url > > I found a way to handle spaces but then I get a subject with a # sign > which creates a short circuited subject value > > Below are 2 options with the ending part(in red) differs. > > The first one works but only handles spaces. > > The second one would be wholistic but RT does not like the syntax. Any > ideas? >
you can use: {use URI::Escape; uri_escape($Ticket->Subject);} or any other perl module that does the same. --------- RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016