.sp 1
.fi
..
-.TH url 3 "20 June 1999" mLib
+.TH url 3 "20 June 1999" "Straylight/Edgeware" "mLib utilities library"
.SH NAME
url \- manipulation of form-urlencoded strings
.\" @url_initenc
.BR dstr (3)
for details).
.PP
+You can set flags in the encoding context's
+.B f
+member:
+.TP
+.B URLF_STRICT
+Be strict about escaping non-alphanumeric characters. Without this,
+potentially unsafe characters such as
+.RB ` / '
+and
+.RB ` ~ '
+will be left unescaped, which makes encoded filenames (for example) more
+readable.
+.TP
+.B URLF_LAX
+Be very lax about non-alphanumeric characters. Everything except
+obviously-unsafe characters like
+.RB ` & '
+and
+.RB ` = '
+are left unescaped.
+.PP
Decoding a sequence of name/value pairs is performed using the
.B url_dec
function. It requires as input a
.SH "SEE ALSO"
.BR mLib (3).
.SH AUTHOR
-Mark Wooding, <mdw@nsict.org>.
+Mark Wooding, <mdw@distorted.org.uk>.