From 152d42f6298b31a4916ea3f8f644ca4490494070 Mon Sep 17 00:00:00 2001 From: Ed Summers Date: Mon, 14 Apr 2014 09:58:06 -0400 Subject: [PATCH] small update about percent encoding cr, lf and crlf. fixes #2 --- bagit.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bagit.xml b/bagit.xml index 16e95c1a..68e83397 100644 --- a/bagit.xml +++ b/bagit.xml @@ -37,7 +37,7 @@ Change "algorithm" (crypto hash) to "function"? (Steffen Fritz email to jak) - + ]> @@ -399,7 +399,11 @@ or more linear whitespace characters (spaces or tabs) &must; separate CHECKSUM from FILENAME. An asterisk ('*') &may; preceed FILENAME for interoperability on some platforms (see ). There is no limitation on the length of a pathname. The payload -manifest &must-not; reference files outside the payload directory. +manifest &must-not; reference files outside the payload directory. If +a FILENAME includes a newline (LF), a carriage return (CR), or carriage +return plus newline (CRLF) it &must; be percent-encoded +. +