Skip Menu |
 

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 20582
Status: resolved
Priority: 0/
Queue: YAML-Syck

People
Owner: TODDR [...] cpan.org
Requestors: nelhage [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.10



Received: by diesel.bestpractical.com (Postfix, from userid 1049) id F38CA4D835A; Thu, 20 Jul 2006 13:46:50 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by diesel.bestpractical.com (Postfix) with ESMTP id CAC6A754191 for <bug-YAML-Syck [...] rt.cpan.org>; Thu, 20 Jul 2006 13:46:50 -0400 (EDT)
Delivered-To: cpan-bug+yaml-syck [...] diesel.bestpractical.com
MIME-Version: 1.0
Subject: Escaping of single quotes
Return-Path: <nelhage [...] bestpractical.com>
X-Original-To: bug-YAML-Syck [...] rt.cpan.org
Date: Thu, 20 Jul 2006 13:46:49 -0400 (EDT)
Message-Id: <Pine.LNX.4.61.0607201332570.14038 [...] diesel.bestpractical.com>
content-type: TEXT/PLAIN; charset="utf-8"; format="flowed"
To: bug-YAML-Syck [...] rt.cpan.org
From: Nelson Elhage <nelhage [...] bestpractical.com>
X-RT-Original-Encoding: US-ASCII
Content-Length: 253
Download (untitled) / with headers
text/plain 253b
If $JSON::Syck::SingleQuote is set to one, JSON::Syck::Dump doesn't properly escape single quotes in its output Show quoted text
> perl -MJSON::Syck
$JSON::Syck::SingleQuote=1; print JSON::Syck::Dump("foo'bar"); 'foo'bar' I'm using YAML::Syck v0.62 - Nelson Elhage
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.61.0607201332570.14038 [...] diesel.bestpractical.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <Pine.LNX.4.61.0607201332570.14038 [...] diesel.bestpractical.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6780-1274355527-1469.20582-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1173
Download (untitled) / with headers
text/plain 1.1k
On Thu Jul 20 13:47:11 2006, nelhage@bestpractical.com wrote: Show quoted text
> I'm using YAML::Syck v0.62
and is this still a problem now? (This is a form-reply that isn't specific to your particular report) YAML::Syck has just acquired one new maintainer (me), it still doesn't have anyone that *cares* about it. But I'm willing to help solve your report & release a new version with the fix if it's easy for me. It now has a Git repository at: http://github.com/avar/YAML-Syck If your report is a patch that fixes a problem, great. Please remake the patch against Git by forking that repo and sending me a pull request on GitHub (or an update to this bug if you prefer git-format-patch(1) or some other repo provider..). Make sure to include a test for what you fixed. If your report is some code that fails (and you have a testcase for it) a patch against the test suite to demonstrate that failure would be very useful. It's OK if the test crashes and burns, see Test::More's docs for how to make TODO tests that fail now, but shouldn't. Even if it segfaults perl C<system $^X => qw/ -Mblib -MYAML::Syck .../> or something like that and checking the return value will do.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-6780-1274355527-1469.20582-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <Pine.LNX.4.61.0607201332570.14038 [...] diesel.bestpractical.com> <rt-3.8.HEAD-6780-1274355527-1469.20582-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2217-1279249457-1357.20582-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 100
Download (untitled) / with headers
text/plain 100b
I see a test for just this in 2-scalars.t I don't think this is still an issue and should be closed.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.