Summary
spock: "-escaping bug in write
Metadata
- Id: 4b1f40811fe9b04bcfe2d52d163bc876619445ad
- Trac id: 1331
- Type: defect
- Reporter: mario
- Owner: felix
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version: 4.11.0
- Changetime: 2016-10-02 19:38:23 UTC
- Created: 2016-10-02 13:37:37 UTC
- Keywords: spock, write, double quote
Attachments
- 4b1f40811fe9b04bcfe2d52d163bc876619445ad/attachments/write.diff
Description
Spock is not properly escaping " when writing:
$ cat str.scm (write "foo\"bar") $ chicken-spock -runtime str.scm | nodejs "foo"bar"
The attached patch seems to fix it.
Changes and comments
[2016-10-02 13:38:33 UTC] mario attached write.diff (description=#f)
[2016-10-02 19:38:23 UTC] felix changed status from new to closed
[2016-10-02 19:38:23 UTC] felix set resolution to fixed
[2016-10-02 19:38:23 UTC] felix wrote:
thanks, pushed and tagged as 0.098