Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
-
ICEsoft Forum Reference:
Description
As the API says, text has to be written "after performing any escaping
appropriate for the markup language being rendered".
The SUN RI HtmlResponseWriter implements the escaping.
In ICEFaces text render, escaping is implemented by converting
text with DOMUtils.escapeAnsi().
The implementation currently does not escape text inserted in the DOM. Note that it can be argued that the DOM should not contain escaped text and that any escaping should be performed during DOM serialization.
appropriate for the markup language being rendered".
The SUN RI HtmlResponseWriter implements the escaping.
In ICEFaces text render, escaping is implemented by converting
text with DOMUtils.escapeAnsi().
The implementation currently does not escape text inserted in the DOM. Note that it can be argued that the DOM should not contain escaped text and that any escaping should be performed during DOM serialization.
Issue Links
Activity
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7.2 [ 10130 ] |
Ken Fyten
made changes -
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee Priority | P3 |
Ken Fyten
made changes -
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Fix Version/s | 1.7.2 [ 10130 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0 [ 10032 ] | |
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Assignee Priority | P3 | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Ted Goddard [ ted.goddard ] | Greg Dick [ greg.dick ] |
Mark Collette
made changes -
Ted Goddard
made changes -
Assignee | Greg Dick [ greg.dick ] | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Greg Dick [ greg.dick ] |
Judy Guglielmin
made changes -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21291 | Thu Apr 22 09:33:20 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/util/DOMUtils.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21299 | Fri Apr 23 09:42:13 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/samples/test/ICE-3182/src/main/webapp/icefaces.xhtml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21334 | Wed Apr 28 07:39:04 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/util/DOMUtils.java
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/context/DOMResponseWriter.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21345 | Thu Apr 29 10:18:34 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/context/DOMResponseWriter.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21375 | Fri May 07 11:17:53 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/EnterKeySubmit.java
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/ScriptWriter.java MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/RedirectSubmit.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21378 | Fri May 07 14:32:38 MDT 2010 | greg.dick | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/ScriptWriter.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21379 | Fri May 07 14:38:49 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/EnterKeySubmit.java
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/RedirectSubmit.java |
Greg Dick
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21463 | Mon May 24 16:09:53 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java
MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/java/com/icesoft/faces/component/JavaScriptContextSetup.java |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
The key factor is that component output is escaped as expected; whether the escaping occurs upon input to the DOM or output from the serializer is an implementation decision.