click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CLK-674) Escape control values as xml entities instead of html
Date Thu, 13 May 2010 10:18:42 GMT

     [ https://issues.apache.org/jira/browse/CLK-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bob Schellink updated CLK-674:
------------------------------

    Description: 
Click escapes Control values and attributes using HTML entities, which doesn't play nice when
returning XML payloads for Ajax requests.

I suggest we only escape dangerous HTML characters > < " ' &, with the option of
switching escaping off.

Is there any reason to escape all HTML entities?

PS: Apostrophe should be escaped as "& #039;" not "& apos;". apos is not a valid HTML
entity

  was:
Click escapes Control values and attributes using HTML entities, which doesn't play nice when
returning XML payloads for Ajax requests.

I suggest we only escape dangerous HTML characters > < " ' &, with the option of
switching escaping off.

Is there any reason to escape all HTML entities?




> Escape control values as xml entities instead of html
> -----------------------------------------------------
>
>                 Key: CLK-674
>                 URL: https://issues.apache.org/jira/browse/CLK-674
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.2.0
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.3.0
>
>
> Click escapes Control values and attributes using HTML entities, which doesn't play nice
when returning XML payloads for Ajax requests.
> I suggest we only escape dangerous HTML characters > < " ' &, with the option
of switching escaping off.
> Is there any reason to escape all HTML entities?
> PS: Apostrophe should be escaped as "& #039;" not "& apos;". apos is not a valid
HTML entity

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message