Hi
When we paste an image in the notification text window of an OTRS 5.0.4 installation using right click + paste, the screenshot is filtered out.
Also when we click "sourcecode" in the editor of it, paste the HTML of an image and then click "sourcecode" a second time to return the image HTML is also stripped out.
How can we remove this filter? We want to add images to a ticket notification.
Laurens
Ticket notification filters out images
Moderator: crythias
Re: Ticket notification filters out images
currently not possible (as notifications can not have attachments)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 22
- Joined: 26 Apr 2016, 08:23
- Znuny Version: 5.0.4
- Real Name: Laurens Van Acker
- Company: Myriade N.V.
Re: Ticket notification filters out images
And external hosted images? Not attached? So where the source if the image is on a webserver somewhere?
Re: Ticket notification filters out images
external images are a security risk and therefore forbidden
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Ticket notification filters out images
HI Laurens,
I use image w/ data url in OTRS 5 and it works. An image, here a folder, looks like this:
I add them in source code view and they are not stripped out (5.0.10).
hth, Roy
I use image w/ data url in OTRS 5 and it works. An image, here a folder, looks like this:
Code: Select all
<img src="data:image/gif;base64,R0lGODlhEAAOALMAAOazToeHh0tLS/7LZv/0jvb29t/f3//Ub/
/ge8WSLf/rhf/3kdbW1mxsbP//mf///yH5BAAAAAAALAAAAAAQAA4AAARe8L1Ekyky67QZ1hLnjM5UUde0ECwLJoExKcpp
V0aCcGCmTIHEIUEqjgaORCMxIC6e0CcguWw6aFjsVMkkIr7g77ZKPJjPZqIyd7sJAgVGoEGv2xsBxqNgYPj/gAwXEQA7"
width="16" height="14" alt="embedded folder icon">
hth, Roy
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 ?
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 ?