You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2015/02/08 18:42:35 UTC

[jira] [Commented] (NIFI-327) Add Processor dialog improper HTML encoding of processor descriptions

    [ https://issues.apache.org/jira/browse/NIFI-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311442#comment-14311442 ] 

Aldrin Piri commented on NIFI-327:
----------------------------------

The issue stems from nf-canvas-toolbox.js invocation of 
{code}
description: nf.Common.escapeHtml(documentedType.description),
{code}

This is encoding &<>"'\/.  In the context of the description, I think this is heavy-handed, and only a subset of those characters is needed.  

> Add Processor dialog improper HTML encoding of processor descriptions
> ---------------------------------------------------------------------
>
>                 Key: NIFI-327
>                 URL: https://issues.apache.org/jira/browse/NIFI-327
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 0.0.1, 0.0.2
>         Environment: OS X in Safari
> CentOS 7 in Firefox 
>            Reporter: Aldrin Piri
>            Priority: Minor
>         Attachments: html-encoding.png
>
>
> Will attach screenshot.
> When adding a processor via 'Add Processor' Description for a processor in the that includes symbols are being encoded when they do not need to be.  One example is TransformXML that makes use of apostrophes which are encoded into their HTML equivalent, '&#39;'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)