Invalid link in ticket with MIME and HTML

Moderator: crythias

Locked
schulmann
Znuny wizard
Posts: 477
Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.11
Real Name: Schulmann

Invalid link in ticket with MIME and HTML

Post by schulmann »

Hi,

there is an unclear behaviour when creating tickets by some MIME coded mails.

On a Linux system the shell commands below create a ticket (OTRS 3.3.5).
The link in this ticket doesn't work as expected because it doesn't point to the intended target.

What is going wrong?

Code: Select all

~otrs/bin/otrs.PostMaster.pl <<'EOF'
To: irgendwas@invalid.invalid
MIME-Version: 1.0
Subject: Test
From: nichts@invalid.invalid
Message-ID: <EGAL@invalid.invalid>
Date: Fri, 14 Mar 2014 21:00:00 +0100
Content-Type: multipart/mixed; boundary="TRENNER"

--TRENNER
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit

<a href="www.invalid">www.invalid</a>
--TRENNER--
EOF
Znuny6/Debian/ESXi
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Invalid link in ticket with MIME and HTML

Post by crythias »

among other things, without a prepended http://, it probably assumes that www.invalid is relative to current page.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
schulmann
Znuny wizard
Posts: 477
Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.11
Real Name: Schulmann

Re: Invalid link in ticket with MIME and HTML

Post by schulmann »

crythias wrote:among other things, without a prepended http://, it probably assumes that http://www.invalid is relative to current page.
Hello crythias,

that is the explanation.
Sometimes I can't see the obvious things.

Thank you very much.

Claus-Dieter
Znuny6/Debian/ESXi
Locked