Semicolon is replaced with %3b

Moderator: crythias

Locked
StarDestroyer
Znuny newbie
Posts: 20
Joined: 05 Sep 2013, 22:26
Znuny Version: 5.0.x
Real Name: Jake
Company: Hilite International

Semicolon is replaced with %3b

Post by StarDestroyer »

I seem to have an issue when I click on a link to a ticket, it doesn't work like I'd expect. I get a funny looking error about a missing Perl Module:
Module Kernel/Modules/AgentTicketZoomTicketID4821.pm not in @INC (/opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/s...
I've managed to narrow it down to the fact that the semicolon is getting replaced by %3b in the URL. I've had this happen when clicking the link from Outlook, Skype for Business (AKA Lync), Gmail in Chrome, and on an iPad (using the native email client and loading into Safari). I've seen other posts about this subject, but have yet to see one with a solution.
OTRS 5.0.x on CentOS 6 w/MySQL Database
StarDestroyer
Znuny newbie
Posts: 20
Joined: 05 Sep 2013, 22:26
Znuny Version: 5.0.x
Real Name: Jake
Company: Hilite International

Re: Semicolon is replaced with %3b

Post by StarDestroyer »

I should have waited 5 more minutes to post this!! I found the solution, though it may not be the solution for anybody else. I had a redirect set up in Apache to send any request for http://helpdesk.domain.local to https://helpdesk.domain.local. To fix this issue, I changed my rewrite rule from

Code: Select all

RewriteRule /(.*) https://helpdesk.domain.local/$1 [R]
to

Code: Select all

RewriteRule /(.*) https://helpdesk.domain.local/$1 [NE,R]
OTRS 5.0.x on CentOS 6 w/MySQL Database
root
Administrator
Posts: 4253
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Semicolon is replaced with %3b

Post by root »

Fix your SysConfig regarding to HttpType and you don't have to fix this in your Apache config.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
StarDestroyer
Znuny newbie
Posts: 20
Joined: 05 Sep 2013, 22:26
Znuny Version: 5.0.x
Real Name: Jake
Company: Hilite International

Re: Semicolon is replaced with %3b

Post by StarDestroyer »

I did do that, too :). I thought I had included that in my post, but apparently not.
OTRS 5.0.x on CentOS 6 w/MySQL Database
Jorixine
Znuny newbie
Posts: 2
Joined: 16 Aug 2016, 21:49
Znuny Version: 5 Free

Re: Semicolon is replaced with %3b

Post by Jorixine »

Hi!

Has anyone found a fix for this?

The only way the URLs are gonna work is if you copy and paste them, so I believe the problem might not be related to apache or IIS.

Thanks a lot !
Locked