Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src RFC 1866 does not define any "URI encoding". It defines HTM...



details:   https://anonhg.NetBSD.org/src/rev/cb5f2a91da80
branches:  trunk
changeset: 783330:cb5f2a91da80
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Dec 15 02:08:13 2012 +0000

description:
RFC 1866 does not define any "URI encoding".  It defines HTML 2.0 that
includes SGML numerical character references (&#nnn;) and entity
references (&foo;) for Added Latin 1 and a subset of Numeric and
Special Graphic.

diffstat:

 lib/libc/gen/unvis.3  |  5 +++--
 usr.bin/unvis/unvis.1 |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 4a4385daa2b1 -r cb5f2a91da80 lib/libc/gen/unvis.3
--- a/lib/libc/gen/unvis.3      Sat Dec 15 01:50:06 2012 +0000
+++ b/lib/libc/gen/unvis.3      Sat Dec 15 02:08:13 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: unvis.3,v 1.24 2012/12/15 01:50:06 uwe Exp $
+.\"    $NetBSD: unvis.3,v 1.25 2012/12/15 02:08:13 uwe Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -162,7 +162,8 @@
 If set to
 .Dv VIS_HTTP1866 ,
 .Fn unvis
-will decode URI strings as specified in RFC 1866.
+will decode entity references and numeric character references
+as specified in RFC 1866.
 If set to
 .Dv VIS_MIMESTYLE ,
 .Fn unvis
diff -r 4a4385daa2b1 -r cb5f2a91da80 usr.bin/unvis/unvis.1
--- a/usr.bin/unvis/unvis.1     Sat Dec 15 01:50:06 2012 +0000
+++ b/usr.bin/unvis/unvis.1     Sat Dec 15 02:08:13 2012 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: unvis.1,v 1.9 2010/11/28 01:33:37 wiz Exp $
+.\"    $NetBSD: unvis.1,v 1.10 2012/12/15 02:08:13 uwe Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -52,7 +52,7 @@
 .It Fl e
 Don't decode \e escaped sequences.
 .It Fl H
-Decode using the URI encoding from RFC 1866.
+Decode entity references and numeric character references from RFC 1866.
 .Pq Dv VIS_HTTP1866
 .It Fl h
 Decode using the URI encoding from RFC 1808.



Home | Main Index | Thread Index | Old Index