GNU bug report logs - #16373
24.3; json-encodes escapes / in strings

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Mon, 6 Jan 2014 16:06:02 UTC

Severity: minor

Found in version 24.3

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16373 in the body.
You can then email your comments to 16373 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16373; Package emacs. (Mon, 06 Jan 2014 16:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 Jan 2014 16:06:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; json-encodes escapes / in strings
Date: Tue, 07 Jan 2014 00:05:16 +0800
(json-encode "/") -> "\"\\/\""

this makes path names look really ugly. Is it required?

Leo




Reply sent to Simen Heggestøyl <simenheg <at> gmail.com>:
You have taken responsibility. (Sun, 04 Oct 2015 12:12:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Liu <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Sun, 04 Oct 2015 12:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 16373-done <at> debbugs.gnu.org (full text, mbox):

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 16373-done <at> debbugs.gnu.org
Subject: Re: bug#16373: 24.3; json-encodes escapes / in strings
Date: Sun, 04 Oct 2015 14:11:40 +0200
Leo Liu <sdl.web <at> gmail.com> writes:
> (json-encode "/") -> "\"\\/\""
>
> this makes path names look really ugly. Is it required?
>
> Leo

This was fixed in 58c86059.

To answer your question: it's not required (but permitted) that you
escape / in strings. See the "string" section at http://json.org/.

-- Simen




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Nov 2015 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.