Frontend → Base → OutputFilter

Frontend::Output::FilterText###AAAURL

定义信件中处理文本的过滤器,以便高亮URL地址。

默认值:

---
Module: Kernel::Output::HTML::FilterText::URL
Templates:
  AgentTicketZoom: '1'

Frontend::Output::FilterText###OutputFilterTextAutoLink

定义信件中处理文本的过滤器,以便高亮预定义的关键词。

这个设置默认没有激活。

默认值:

---
Module: Kernel::Output::HTML::FilterText::AutoLink
Templates:
  AgentTicketZoom: '1'

Frontend::Output::OutputFilterTextAutoLink###Bugtraq

定义HTML输出结果中在BUG追踪号码后面添加链接的过滤器。图像元素允许两种输入方式:第一种是用图像的名称(如faq.png),在这种情况下会使用OTRS的图像路径;第二种是插入图像的链接。

这个设置默认没有激活。

默认值:

---
RegExp:
- Bugtraq[\s\w\t]*?ID[\s\w\t]*?:[\s\w\t]*?(\d{2,8})
- Bugtraq[\s\w\t]*?ID[\s\w\t]*?(\d{2,8})
- Bugtraq[\s\w\t]*?:[\s\w\t]*?(\d{2,8})
- Bugtraq[\s\w\t]*?(\d{2,8})
- BID[\s\w\t]*?:[\s\w\t]*?(\d{2,8})
- BID[\s\w\t]*?(\d{2,8})
Templates:
  AgentTicketZoom: '1'
URL1:
  Description: Security Focus
  Image: https://www.securityfocus.com/favicon.ico
  Target: _blank
  URL: https://www.securityfocus.com/bid/<MATCH1>/info
URL2:
  Description: Google
  Image: https://www.google.de/favicon.ico
  Target: _blank
  URL: https://google.com/search?q=<MATCH>

Frontend::Output::OutputFilterTextAutoLink###CVE

定义HTML输出结果中在CVE号码后面添加链接的过滤器。图像元素允许两种输入方式:第一种是用图像的名称(如faq.png),在这种情况下会使用OTRS的图像路径;第二种是插入图像的链接。

这个设置默认没有激活。

默认值:

---
RegExp:
- (CVE|CAN)\-(\d{3,4})\-(\d{2,})
Templates:
  AgentTicketZoom: '1'
URL1:
  Description: Mitre
  Image: https://cve.mitre.org/favicon.ico
  Target: _blank
  URL: https://cve.mitre.org/cgi-bin/cvename.cgi?name=<MATCH1>-<MATCH2>-<MATCH3>
URL2:
  Description: Google
  Image: https://www.google.de/favicon.ico
  Target: _blank
  URL: https://google.com/search?q=<MATCH1>-<MATCH2>-<MATCH3>
URL3:
  Description: US-CERT NVD
  Image: https://nvd.nist.gov/NVD/Media/images/favicons/favicon-16x16.png
  Target: _blank
  URL: https://nvd.nist.gov/nvd.cfm?cvename=<MATCH1>-<MATCH2>-<MATCH3>

Frontend::Output::OutputFilterTextAutoLink###MSBulletins

定义HTML输出结果中在微软公告号码后面添加链接的过滤器。图像元素允许两种输入方式:第一种是用图像的名称(如faq.png),在这种情况下会使用OTRS的图像路径;第二种是插入图像的链接。

这个设置默认没有激活。

默认值:

---
RegExp:
- MS[^A-Za-z]{0,5}(\d\d).?(\d{2,4})
Templates:
  AgentTicketZoom: '1'
URL1:
  Description: Microsoft Technet
  Image: https://www.microsoft.com/favicon.ico
  Target: _blank
  URL: https://www.microsoft.com/technet/security/bulletin/MS<MATCH1>-<MATCH2>.mspx
URL2:
  Description: Google
  Image: https://www.google.de/favicon.ico
  Target: _blank
  URL: https://google.com/search?q=MS<MATCH1>-<MATCH2>

Frontend::Output::OutputFilterTextAutoLink###Setting1

在HTML输出结果中为预定义字符串添加链接的过滤器。图像元素允许两种输入方式:第一种是用图像的名称(例如:faq.png),在这种情况下会使用OTRS的图像路径;第二种是插入图像的链接。

这个设置默认没有激活。

默认值:

---
RegExp:
- RegExp
Templates:
  AgentTicketZoom: '1'
URL1:
  Description: Description
  Image: right-small.png
  Target: _blank
  URL: URL
URL2:
  Description: Description
  Image: Image
  Target: _blank
  URL: URL

Frontend::Output::OutputFilterTextAutoLink###Setting2

在HTML输出结果中为预定义字符串添加链接的过滤器。图像元素允许两种输入方式:第一种是用图像的名称(如faq.png),在这种情况下会使用OTRS的图像路径;第二种是插入图像的链接。

这个设置默认没有激活。

默认值:

---
RegExp:
- RegExp
Templates:
  AgentTicketZoom: '1'
URL1:
  Description: Description
  Image: right-small.png
  Target: _blank
  URL: URL
URL2:
  Description: Description
  Image: Image
  Target: _blank
  URL: URL
URL3:
  Description: Description
  Image: Image
  Target: _blank
  URL: URL