Ticket #50 (closed defect: fixed)
valueToString in jala.Test.js should encode and truncate output
| Reported by: | thomas.hammerl@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Keywords: | Cc: |
Description
when assertEqual or assertStringContains fails jala writes both strings into the response without truncating or escaping them. for instance if you try to assert that some html-page does contain a certain substring and it does not, jala renders the whole html-page without escaping the html-code.
i've attached a patch that would solve the problem by calling the encode-function on the truncated string.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/jala/chrome/common/trac_banner.png)