HomePhorge

Fixes #4485 -- single quoted strings should not treat \n as new line
a23d80aebabfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fixes #4485 -- single quoted strings should not treat \n as new line

This is the rest of the change for #4303; James and I discussed various
ways the solution to that ticket needed to be extended but, as neither of us
committed code, nothing changed. This is the least implact extension, which
mimics the behaviour of prior versions.

It leaves open the question: should '\\x' start with a single or double
backslash? If, as now, '\\x' starts with a double backslash (i.e. single quote
is the only escapable characterin single quoted strings) a string ending in a
backslash can not be represented in a single quoted string.

Details

Provenance
Markus Roberts <Markus@reality.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8e31b528e139: Passenger needs HTTP headers values to be string
Branches
Unknown
Tags
Unknown

Event Timeline

Markus Roberts <Markus@reality.com> committed rPUa23d80aebabf: Fixes #4485 -- single quoted strings should not treat \n as new line (authored by Markus Roberts <Markus@reality.com>).Aug 6 2010, 7:23 AM