You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matt Gilman (JIRA)" <ji...@apache.org> on 2015/02/09 03:32:34 UTC

[jira] [Comment Edited] (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=14311722#comment-14311722 ] 

Matt Gilman edited comment on NIFI-327 at 2/9/15 2:31 AM:
----------------------------------------------------------

Apologies. I was confusing two different parts when I read the single line snippet above.

The description parameter that is used in the combo boxes definitely needs to be escaped (like line 774 in that same file). For some reason, when I read the snippet above that's what I thought we were talking about. And that doesn't even make sense for the Add Processor dialog. I should have referred to the code sooner to prevent this confusion.

Anyways... submit a patch and I'll apply it. 


was (Author: mcgilman):
Apologies. I was confusing two different parts when I read the single line snippet above.

The description parameter that is used in the combo boxes definitely needs to be escaped (like line 726 in that same file). For some reason, when I read the snippet above that's what I thought we were talking about. And that doesn't even make sense for the Add Processor dialog. I should have referred to the code sooner to prevent this confusion.

Anyways... submit a patch and I'll apply it. 

> 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)