[
https://issues.jboss.org/browse/ARQAJO-42?page=com.atlassian.jira.plugin....
]
Lukas Fryc commented on ARQAJO-42:
----------------------------------
Karel, it will not be possible to use SimpleFormatter to escape dangerous characters.
SimpleFormatter is general purpose formatting tool to replace placeholders with value.
We will need otherwise double-check that strings are escaped properly everywhere they are
evaluated on JavaScript side.
Check possibilities for SimpleFormatter to automatically escape
dangerous characters
------------------------------------------------------------------------------------
Key: ARQAJO-42
URL:
https://issues.jboss.org/browse/ARQAJO-42
Project: Arquillian Ajocado
Issue Type: Enhancement
Affects Versions: 1.0.0.Alpha1
Reporter: Karel Piwko
Assignee: Lukas Fryc
Fix For: 1.0.0.Alpha2
Write tests to check {code:java}getDescendant(jq), getChild(jq) and
getAttribute(atr){code} is correctly escaping characters needed for jquery/javascript
execution via Selenium object.
For the moment, dangerous characters are ' (single quote) and : (colon), which may
appears in RF generated id's and function calls, such as :contains('foo').
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira