From 0d7d3b1a010fb58b91b5dfe85161e150995a73ba Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Fri, 2 May 2014 22:31:48 -0500 Subject: [PATCH] Fixed: Can't use system registration with some OTRS-IDs (bug#10458). --- CHANGES.md | 1 + Kernel/Modules/AdminRegistration.pm | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 4c589a93c4b..96f5acf246d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,5 @@ #3.3.7 2014-??-?? + - 2014-05-02 Fixed bug#[10458](http://bugs.otrs.org/show_bug.cgi?id=10458) - Can't use system registration with some OTRS-IDs. - 2014-04-29 Fixed bug#[10470](http://bugs.otrs.org/show_bug.cgi?id=10470) - Need FormID! error when embedding image when creating a Process Ticket. - 2014-04-28 Fixed bug#[9876](http://bugs.otrs.org/show_bug.cgi?id=9876) - CaseSensitive option wrong in CustomerCompany. - 2014-04-17 Removed OTRS Scheduler Service startup files in favor of Watchdog mode via cron jobs. diff --git a/Kernel/Modules/AdminRegistration.pm b/Kernel/Modules/AdminRegistration.pm index 1e4eae9cdab..0ab47acfc8c 100644 --- a/Kernel/Modules/AdminRegistration.pm +++ b/Kernel/Modules/AdminRegistration.pm @@ -74,8 +74,10 @@ sub Run { if ( $Response{Token} ) { my $NextAction = $Self->{RegistrationState} ne 'registered' ? 'Register' : 'Deregister'; return $Self->{LayoutObject}->Redirect( - OP => - "Action=AdminRegistration;Subaction=$NextAction;Token=$Response{Token};OTRSID=$OTRSID", + OP => "Action=AdminRegistration;Subaction=$NextAction;Token=" + . $Self->{LayoutObject}->LinkEncode( $Response{Token} ) + . ';OTRSID=' + . $Self->{LayoutObject}->LinkEncode($OTRSID), ); }